diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/console/console.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/console/console.h b/src/include/console/console.h index 2392ddfe42..013ef2083e 100644 --- a/src/include/console/console.h +++ b/src/include/console/console.h @@ -40,8 +40,9 @@ void mainboard_post(u8 value); void __attribute__ ((noreturn)) die(const char *msg); #define __CONSOLE_ENABLE__ \ - ((ENV_BOOTBLOCK && CONFIG_BOOTBLOCK_CONSOLE) || \ - ENV_VERSTAGE || ENV_ROMSTAGE || ENV_RAMSTAGE || ENV_POSTCAR || \ + ((ENV_BOOTBLOCK && IS_ENABLED(CONFIG_BOOTBLOCK_CONSOLE)) || \ + (ENV_POSTCAR && IS_ENABLED(CONFIG_POSTCAR_CONSOLE)) || \ + ENV_VERSTAGE || ENV_ROMSTAGE || ENV_RAMSTAGE || \ (ENV_SMM && CONFIG_DEBUG_SMI)) #if __CONSOLE_ENABLE__ |