summaryrefslogtreecommitdiff
path: root/src/lib/bootblock.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/bootblock.c')
-rw-r--r--src/lib/bootblock.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/bootblock.c b/src/lib/bootblock.c
index 5fb606731a..6d40bc0075 100644
--- a/src/lib/bootblock.c
+++ b/src/lib/bootblock.c
@@ -57,7 +57,9 @@ static void bootblock_main_with_timestamp(uint64_t base_timestamp,
bootblock_mainboard_early_init();
sanitize_cmos();
- cmos_post_init();
+
+ if (CONFIG(CMOS_POST))
+ cmos_post_init();
if (CONFIG(BOOTBLOCK_CONSOLE)) {
console_init();