x86: Add post codes for OS resume
authorBin Meng <bmeng.cn@gmail.com>
Fri, 21 Apr 2017 14:24:30 +0000 (07:24 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Wed, 17 May 2017 09:11:46 +0000 (17:11 +0800)
This adds OS_RESUME (0x40) and RESUME_FAILURE (0xed) post codes.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Tested-by: Stefan Roese <sr@denx.de>
arch/x86/include/asm/post.h

index 6b774bdbe8a43efcc640b2d3301def49b5b0f03a..f627663f319b452357c4cf7c2523ccd3b10c2511 100644 (file)
 #define POST_MRC               0x2f
 #define POST_DRAM              0x30
 #define POST_LAPIC             0x31
+#define POST_OS_RESUME         0x40
 
 #define POST_RAM_FAILURE       0xea
 #define POST_BIST_FAILURE      0xeb
 #define POST_CAR_FAILURE       0xec
+#define POST_RESUME_FAILURE    0xed
 
 /* Output a post code using al - value must be 0 to 0xff */
 #ifdef __ASSEMBLY__