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:
parent
0ed7940c5d
commit
5c715ac3c5
|
@ -19,6 +19,8 @@
|
||||||
#ifndef BOOTSTATE_H
|
#ifndef BOOTSTATE_H
|
||||||
#define BOOTSTATE_H
|
#define BOOTSTATE_H
|
||||||
|
|
||||||
|
#if !defined(__SMM__) && !defined(__PRE_RAM__)
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
/* Control debugging of the boot state machine. */
|
/* Control debugging of the boot state machine. */
|
||||||
|
@ -188,4 +190,5 @@ struct boot_state_init_entry {
|
||||||
.bscb = BOOT_STATE_CALLBACK_INIT(func_, arg_), \
|
.bscb = BOOT_STATE_CALLBACK_INIT(func_, arg_), \
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif
|
||||||
#endif /* BOOTSTATE_H */
|
#endif /* BOOTSTATE_H */
|
||||||
|
|
Loading…
Reference in New Issue