summaryrefslogtreecommitdiff
path: root/src/include/cpu/x86/bist.h
blob: 247e78cd197403f031f1a1e538874973e50ed20d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* 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 */