Merge git://git.denx.de/u-boot-x86
[oweals/u-boot.git] / arch / x86 / include / asm / post.h
index f49ce992d15e129afb16936cb24e2b586555b58b..939b6fa57e3930be789402f9b070f7bf41a9fe2a 100644 (file)
@@ -1,7 +1,6 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
 /*
  * Copyright (c) 2014 Google, Inc
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #ifndef _post_h
 #define POST_CPU_INFO          0x2d
 #define POST_PRE_MRC           0x2e
 #define POST_MRC               0x2f
-#define POST_DRAM              0x2f
-#define POST_LAPIC             0x30
+#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__