summaryrefslogtreecommitdiff
path: root/chip/npcx/system.c
diff options
context:
space:
mode:
Diffstat (limited to 'chip/npcx/system.c')
-rw-r--r--chip/npcx/system.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/npcx/system.c b/chip/npcx/system.c
index 4326333295..a81c3cd383 100644
--- a/chip/npcx/system.c
+++ b/chip/npcx/system.c
@@ -182,7 +182,7 @@ static int bbram_idx_lookup(enum system_bbram_idx idx)
if (idx == SYSTEM_BBRAM_IDX_PD1)
return BBRM_DATA_INDEX_PD1;
#endif
-#ifdef CONFIG_VBOOT_EC
+#ifdef CONFIG_VBOOT_EFS
if (idx == SYSTEM_BBRAM_IDX_TRY_SLOT)
return BBRM_DATA_INDEX_TRY_SLOT;
#endif