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>
This commit is contained in:
Patrick Georgi 2014-08-14 19:23:41 +02:00
parent 0ed7940c5d
commit 5c715ac3c5
1 changed files with 3 additions and 0 deletions

View File

@ -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 */