From 731e58e3197c43be49430f1b28445fcf85a7ed94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ky=C3=B6sti=20M=C3=A4lkki?= Date: Sat, 4 Jan 2020 13:00:02 +0200 Subject: drivers/pc80/rtc: Remove stub for sanitize_cmos() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We only have a single call-site for this. Change-Id: I7ab19c6ea4ef01334f4d229c5636b64f99c86119 Signed-off-by: Kyösti Mälkki Reviewed-on: https://review.coreboot.org/c/coreboot/+/38182 Reviewed-by: Angel Pons Reviewed-by: Patrick Rudolph Tested-by: build bot (Jenkins) --- src/lib/bootblock.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib') 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(); -- cgit v1.2.3