[coreboot-gerrit] New patch to review for coreboot: e4bcccb rules.h: add verstage macro

Patrick Georgi (pgeorgi@google.com) gerrit at coreboot.org
Tue Apr 28 22:27:31 CEST 2015


Patrick Georgi (pgeorgi at google.com) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/10019

-gerrit

commit e4bcccb346deac93bfbefbe77fb76191ed2ae629
Author: Patrick Georgi <pgeorgi at chromium.org>
Date:   Tue Apr 28 22:26:23 2015 +0200

    rules.h: add verstage macro
    
    Change-Id: I5ba32e80a825a1f86d0e32da23e5fa0a2d85f4cd
    Signed-off-by: Patrick Georgi <pgeorgi at chromium.org>
---
 src/include/rules.h | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/src/include/rules.h b/src/include/rules.h
index a99d3e2..3f5262c 100644
--- a/src/include/rules.h
+++ b/src/include/rules.h
@@ -29,6 +29,7 @@
 #define ENV_RAMSTAGE 0
 #define ENV_SMM 0
 #define ENV_SECMON 0
+#define ENV_VERSTAGE 0
 
 #elif defined(__PRE_RAM__)
 #define ENV_BOOTBLOCK 0
@@ -36,6 +37,7 @@
 #define ENV_RAMSTAGE 0
 #define ENV_SMM 0
 #define ENV_SECMON 0
+#define ENV_VERSTAGE 0
 
 #elif defined(__SMM__)
 #define ENV_BOOTBLOCK 0
@@ -43,6 +45,7 @@
 #define ENV_RAMSTAGE 0
 #define ENV_SMM 1
 #define ENV_SECMON 0
+#define ENV_VERSTAGE 0
 
 #elif defined(__SECMON__)
 #define ENV_BOOTBLOCK 0
@@ -50,6 +53,15 @@
 #define ENV_RAMSTAGE 0
 #define ENV_SMM 0
 #define ENV_SECMON 1
+#define ENV_VERSTAGE 0
+
+#elif defined(__VERSTAGE__)
+#define ENV_BOOTBLOCK 0
+#define ENV_ROMSTAGE 0
+#define ENV_RAMSTAGE 0
+#define ENV_SMM 0
+#define ENV_SECMON 0
+#define ENV_VERSTAGE 1
 
 #else
 #define ENV_BOOTBLOCK 0
@@ -57,6 +69,7 @@
 #define ENV_RAMSTAGE 1
 #define ENV_SMM 0
 #define ENV_SECMON 0
+#define ENV_VERSTAGE 0
 #endif
 
 /* For romstage and ramstage always build with simple device model, ie.



More information about the coreboot-gerrit mailing list