summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorKyösti Mälkki <kyosti.malkki@gmail.com>2020-01-04 18:04:39 +0200
committerNico Huber <nico.h@gmx.de>2020-01-10 15:28:41 +0000
commitb2680a12e4ddeaa0a33975eb0034feb6649d333c (patch)
treec486831e6f84b6f679a6e47ec86ee6d56bd80e6f /src/include
parentda41b6182d22faf0ffa567f8e018078f4a6cbe7a (diff)
drivers/pc80/rtc: Move sanitize_cmos()
Implementation depends on USE_OPTION_TABLE. Change-Id: If7f8f478db3214842b6cc60cd77b4ea81cab6e3a Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38195 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/include')
-rw-r--r--src/include/option.h2
-rw-r--r--src/include/pc80/mc146818rtc.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/include/option.h b/src/include/option.h
index 198ca00d02..ba7cd0c1a4 100644
--- a/src/include/option.h
+++ b/src/include/option.h
@@ -16,6 +16,8 @@
#include <types.h>
+void sanitize_cmos(void);
+
enum cb_err cmos_set_option(const char *name, void *val);
enum cb_err cmos_get_option(void *dest, const char *name);
diff --git a/src/include/pc80/mc146818rtc.h b/src/include/pc80/mc146818rtc.h
index 9cd00b525c..20e963909b 100644
--- a/src/include/pc80/mc146818rtc.h
+++ b/src/include/pc80/mc146818rtc.h
@@ -217,7 +217,6 @@ static inline void cmos_post_log(void) {}
#endif /* CONFIG_ARCH_X86 */
-void sanitize_cmos(void);
void cmos_post_init(void);
#endif /* PC80_MC146818RTC_H */