summaryrefslogtreecommitdiff
path: root/src/include/cpu/x86/bist.h
blob: 153b39e22c05d290609e0d0e650615af2aacf978 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#ifndef CPU_X86_BIST_H
#define CPU_X86_BIST_H

static void report_bist_failure(u32 bist)
{
	if (bist != 0) {
#if CONFIG_USE_PRINTK_IN_CAR
                printk(BIOS_EMERG, "BIST failed: %08x", bist);
#else
		print_emerg("BIST failed: ");
		print_emerg_hex32(bist);
#endif
		die("\r\n");

	}
}

#endif /* CPU_Xf86_BIST_H */