diff options
author | Patrick Georgi <patrick@georgi-clan.de> | 2014-08-14 19:23:41 +0200 |
---|---|---|
committer | Patrick Georgi <patrick@georgi-clan.de> | 2014-08-16 08:35:03 +0200 |
commit | 5c715ac3c50dd50089ae4d8547e91444874a5a16 (patch) | |
tree | ec356c2f83eeaed2e6758d5eb4e6461c1734dc57 /src | |
parent | 0ed7940c5d0d789ae1394b2a4ab70d8b6924b109 (diff) | |
download | coreboot-5c715ac3c50dd50089ae4d8547e91444874a5a16.tar.xz |
bootstate: don't use header in romstage code
Change-Id: I0c2943bb0889552dc384d8efb5226cd6982a4d81
Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Reviewed-on: http://review.coreboot.org/6663
Tested-by: build bot (Jenkins)
Reviewed-by: Edward O'Callaghan <eocallaghan@alterapraxis.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Diffstat (limited to 'src')
-rw-r--r-- | src/include/bootstate.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/bootstate.h b/src/include/bootstate.h index 46662d5ea7..202acf7d4e 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 */ |