summaryrefslogtreecommitdiff
path: root/src/include/cpu/x86/bist.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/cpu/x86/bist.h')
-rw-r--r--src/include/cpu/x86/bist.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/include/cpu/x86/bist.h b/src/include/cpu/x86/bist.h
new file mode 100644
index 0000000000..6a62150c68
--- /dev/null
+++ b/src/include/cpu/x86/bist.h
@@ -0,0 +1,13 @@
+#ifndef CPU_X86_BIST_H
+#define CPU_X86_BIST_H
+
+static void report_bist_failure(unsigned long bist)
+{
+ if (bist != 0) {
+ print_emerg("BIST failed: ");
+ print_emerg_hex32(bist);
+ die("\r\n");
+ }
+}
+
+#endif /* CPU_Xf86_BIST_H */