Files
system76-coreboot/src/include/cpu/x86/bist.h
Martin Roth f18034c1b3 include: Add SPDX identifiers to files missing them
This adds SPDX identifiers to the remaining source files in the
include directory that don't already have them.

Signed-off-by: Martin Roth <martin.roth@amd.corp-partner.google.com>
Change-Id: I0dbf4c839eacf957eb6f272aa8bfa1eeedc0886f
Reviewed-on: https://review.coreboot.org/c/coreboot/+/66501
Reviewed-by: Marshall Dawson <marshalldawson3rd@gmail.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
2022-08-11 17:53:11 +00:00

18 lines
307 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
#ifndef CPU_X86_BIST_H
#define CPU_X86_BIST_H
#include <console/console.h>
#include <stdint.h>
static inline void report_bist_failure(u32 bist)
{
if (bist != 0) {
printk(BIOS_EMERG, "BIST failed: %08x", bist);
die("\n");
}
}
#endif /* CPU_X86_BIST_H */