summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/bootblock.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/bootblock.c b/src/lib/bootblock.c
index 6d40bc0075..beb6701cee 100644
--- a/src/lib/bootblock.c
+++ b/src/lib/bootblock.c
@@ -56,7 +56,8 @@ static void bootblock_main_with_timestamp(uint64_t base_timestamp,
bootblock_soc_early_init();
bootblock_mainboard_early_init();
- sanitize_cmos();
+ if (CONFIG(USE_OPTION_TABLE))
+ sanitize_cmos();
if (CONFIG(CMOS_POST))
cmos_post_init();