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