2004-10-14 22:13:01 +02:00
|
|
|
#ifndef CPU_X86_BIST_H
|
|
|
|
#define CPU_X86_BIST_H
|
|
|
|
|
|
|
|
static void report_bist_failure(unsigned long bist)
|
|
|
|
{
|
|
|
|
if (bist != 0) {
|
2005-07-06 19:17:25 +02:00
|
|
|
#if CONFIG_USE_INIT
|
|
|
|
printk_emerg("BIST failed: %08x", bist);
|
|
|
|
#else
|
2004-10-14 22:13:01 +02:00
|
|
|
print_emerg("BIST failed: ");
|
|
|
|
print_emerg_hex32(bist);
|
2005-07-06 19:17:25 +02:00
|
|
|
#endif
|
2004-10-14 22:13:01 +02:00
|
|
|
die("\r\n");
|
2005-07-06 19:17:25 +02:00
|
|
|
|
2004-10-14 22:13:01 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif /* CPU_Xf86_BIST_H */
|