x86: Add post failure codes for bist and car
PATCH 13/25 x86: Add post failure codes for bist and car
Signed-off-by Bin Meng <[email protected]>
--- arch/x86/cpu/ivybridge/cpu.c | 1 + arch/x86/include/asm/post.h | 2 ++ 2 files changed, 3 insertions(+)
arch/x86/cpu/ivybridge/cpu.c +1 -0
@@ -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 ; }
arch/x86/include/asm/post.h +2 -0
@@ -33,6 +33,8 @@#define POST_LAPIC 0x30#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 */ #ifdef __ASSEMBLY__
Signature · 1 line
1.8.2.1
PATCH 13/25 x86: Add post failure codes for bist and car
Quoted 5 lines · Bin Meng
Signed-off-by Bin Meng <[email protected]>--- arch/x86/cpu/ivybridge/cpu.c | 1 + arch/x86/include/asm/post.h | 2 ++ 2 files changed, 3 insertions(+)
Acked-by Simon Glass <[email protected]>