Skip to content
Snippets Groups Projects
Commit 95a5a474 authored by Bin Meng's avatar Bin Meng Committed by Simon Glass
Browse files

x86: Add post failure codes for bist and car

parent 8e04d4c5
No related branches found
No related tags found
No related merge requests found
...@@ -263,6 +263,7 @@ static void enable_usb_bar(void) ...@@ -263,6 +263,7 @@ static void enable_usb_bar(void)
static int report_bist_failure(void) static int report_bist_failure(void)
{ {
if (gd->arch.bist != 0) { if (gd->arch.bist != 0) {
post_code(POST_BIST_FAILURE);
printf("BIST failed: %08x\n", gd->arch.bist); printf("BIST failed: %08x\n", gd->arch.bist);
return -EFAULT; return -EFAULT;
} }
......
...@@ -33,6 +33,8 @@ ...@@ -33,6 +33,8 @@
#define POST_LAPIC 0x30 #define POST_LAPIC 0x30
#define POST_RAM_FAILURE 0xea #define POST_RAM_FAILURE 0xea
#define POST_BIST_FAILURE 0xeb
#define POST_CAR_FAILURE 0xec
/* Output a post code using al - value must be 0 to 0xff */ /* Output a post code using al - value must be 0 to 0xff */
#ifdef __ASSEMBLY__ #ifdef __ASSEMBLY__
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment