[coreboot-gerrit] New patch to review for coreboot: 0aae28a7 bootstate: don't use header in romstage code

Patrick Georgi (patrick@georgi-clan.de) gerrit at coreboot.org
Thu Aug 14 19:24:26 CEST 2014


Patrick Georgi (patrick at georgi-clan.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6663

-gerrit

commit 0aae28a788bb51b9bd3a2ff79226474c43726c8e
Author: Patrick Georgi <patrick at georgi-clan.de>
Date:   Thu Aug 14 19:23:41 2014 +0200

    bootstate: don't use header in romstage code
    
    Change-Id: I0c2943bb0889552dc384d8efb5226cd6982a4d81
    Signed-off-by: Patrick Georgi <patrick at georgi-clan.de>
---
 src/include/bootstate.h | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/include/bootstate.h b/src/include/bootstate.h
index 46662d5..202acf7 100644
--- a/src/include/bootstate.h
+++ b/src/include/bootstate.h
@@ -19,6 +19,8 @@
 #ifndef BOOTSTATE_H
 #define BOOTSTATE_H
 
+#if !defined(__SMM__) && !defined(__PRE_RAM__)
+
 #include <string.h>
 
 /* Control debugging of the boot state machine. */
@@ -188,4 +190,5 @@ struct boot_state_init_entry {
 		.bscb = BOOT_STATE_CALLBACK_INIT(func_, arg_),	\
 	}
 
+#endif
 #endif /* BOOTSTATE_H */



More information about the coreboot-gerrit mailing list