summaryrefslogtreecommitdiff
path: root/src/drivers/elog
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/elog')
-rw-r--r--src/drivers/elog/elog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/elog/elog.c b/src/drivers/elog/elog.c
index 5e3409b9bb..a08624fe74 100644
--- a/src/drivers/elog/elog.c
+++ b/src/drivers/elog/elog.c
@@ -748,7 +748,7 @@ static bool elog_do_add_boot_count(void)
/* Check and log POST codes from previous boot */
static void log_last_boot_post(void)
{
-#if CONFIG(ARCH_X86)
+#if ENV_X86
u8 code;
u32 extra;