rules.h: add verstage macro

Change-Id: I5ba32e80a825a1f86d0e32da23e5fa0a2d85f4cd
Signed-off-by: Patrick Georgi <pgeorgi@chromium.org>
Reviewed-on: http://review.coreboot.org/10019
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Tested-by: build bot (Jenkins)
This commit is contained in:
Patrick Georgi 2015-04-28 22:26:23 +02:00 committed by Patrick Georgi
parent 913dbbcb3a
commit cc8171f005
1 changed files with 13 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#define ENV_RAMSTAGE 0 #define ENV_RAMSTAGE 0
#define ENV_SMM 0 #define ENV_SMM 0
#define ENV_SECMON 0 #define ENV_SECMON 0
#define ENV_VERSTAGE 0
#elif defined(__PRE_RAM__) #elif defined(__PRE_RAM__)
#define ENV_BOOTBLOCK 0 #define ENV_BOOTBLOCK 0
@ -36,6 +37,7 @@
#define ENV_RAMSTAGE 0 #define ENV_RAMSTAGE 0
#define ENV_SMM 0 #define ENV_SMM 0
#define ENV_SECMON 0 #define ENV_SECMON 0
#define ENV_VERSTAGE 0
#elif defined(__SMM__) #elif defined(__SMM__)
#define ENV_BOOTBLOCK 0 #define ENV_BOOTBLOCK 0
@ -43,6 +45,7 @@
#define ENV_RAMSTAGE 0 #define ENV_RAMSTAGE 0
#define ENV_SMM 1 #define ENV_SMM 1
#define ENV_SECMON 0 #define ENV_SECMON 0
#define ENV_VERSTAGE 0
#elif defined(__SECMON__) #elif defined(__SECMON__)
#define ENV_BOOTBLOCK 0 #define ENV_BOOTBLOCK 0
@ -50,6 +53,15 @@
#define ENV_RAMSTAGE 0 #define ENV_RAMSTAGE 0
#define ENV_SMM 0 #define ENV_SMM 0
#define ENV_SECMON 1 #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 #else
#define ENV_BOOTBLOCK 0 #define ENV_BOOTBLOCK 0
@ -57,6 +69,7 @@
#define ENV_RAMSTAGE 1 #define ENV_RAMSTAGE 1
#define ENV_SMM 0 #define ENV_SMM 0
#define ENV_SECMON 0 #define ENV_SECMON 0
#define ENV_VERSTAGE 0
#endif #endif
/* For romstage and ramstage always build with simple device model, ie. /* For romstage and ramstage always build with simple device model, ie.