From 5ce0fe117626b10f327fe279f64856cde575946c Mon Sep 17 00:00:00 2001 From: Nico Huber Date: Tue, 25 Jul 2017 16:11:36 +0200 Subject: Port cmos.default handling to C environment bootblock Gather related code in the new file drivers/pc80/rtc/mc146818rtc_boot.c, call sanitize_cmos() from C environment bootblock. Change-Id: Ia5c64de208a5986299c0508d0e11eeb8473deef1 Signed-off-by: Nico Huber Reviewed-on: https://review.coreboot.org/20768 Tested-by: build bot (Jenkins) Reviewed-by: Aaron Durbin --- src/lib/bootblock.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lib') diff --git a/src/lib/bootblock.c b/src/lib/bootblock.c index b859e1ea4e..2e228c6d32 100644 --- a/src/lib/bootblock.c +++ b/src/lib/bootblock.c @@ -36,6 +36,7 @@ asmlinkage void bootblock_main_with_timestamp(uint64_t base_timestamp) if (IS_ENABLED(CONFIG_COLLECT_TIMESTAMPS) && _timestamp_size > 0) timestamp_init(base_timestamp); + sanitize_cmos(); cmos_post_init(); bootblock_soc_early_init(); -- cgit v1.2.3