summaryrefslogtreecommitdiff
path: root/arch/x86/cpu/ivybridge
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2014-12-12 21:05:30 +0800
committerSimon Glass <sjg@chromium.org>2014-12-13 22:32:05 -0700
commit95a5a474665307f231c36d1896d1ca7c6c9680f9 (patch)
treeaf5bbaf8a3b9622e43b3b1291345cbfe296319ba /arch/x86/cpu/ivybridge
parent8e04d4c537eca06112fc8508689eb6c75d1f518e (diff)
downloadu-boot-imx-95a5a474665307f231c36d1896d1ca7c6c9680f9.zip
u-boot-imx-95a5a474665307f231c36d1896d1ca7c6c9680f9.tar.gz
u-boot-imx-95a5a474665307f231c36d1896d1ca7c6c9680f9.tar.bz2
x86: Add post failure codes for bist and car
Signed-off-by: Bin Meng <bmeng.cn@gmail.com> Acked-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch/x86/cpu/ivybridge')
-rw-r--r--arch/x86/cpu/ivybridge/cpu.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/x86/cpu/ivybridge/cpu.c b/arch/x86/cpu/ivybridge/cpu.c
index 60976db..969b07b 100644
--- a/arch/x86/cpu/ivybridge/cpu.c
+++ b/arch/x86/cpu/ivybridge/cpu.c
@@ -263,6 +263,7 @@ static void enable_usb_bar(void)
static int report_bist_failure(void)
{
if (gd->arch.bist != 0) {
+ post_code(POST_BIST_FAILURE);
printf("BIST failed: %08x\n", gd->arch.bist);
return -EFAULT;
}