drivers/pc80/rtc: Remove stub for cmos_post_init()
We only have a single call-site for this. Change-Id: Ia05a762691351b37cc59b39222fec737b29e913c Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/38181 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
parent
a581166820
commit
bb5b9fee8c
|
@ -211,10 +211,8 @@ enum cb_err get_option(void *dest, const char *name);
|
|||
#define CMOS_POST_EXTRA_DEV_PATH 0x01
|
||||
|
||||
void cmos_post_log(void);
|
||||
void cmos_post_init(void);
|
||||
#else
|
||||
static inline void cmos_post_log(void) {}
|
||||
static inline void cmos_post_init(void) {}
|
||||
#endif /* CONFIG_CMOS_POST */
|
||||
|
||||
#if CONFIG(USE_OPTION_TABLE)
|
||||
|
@ -224,8 +222,9 @@ static inline void sanitize_cmos(void) {}
|
|||
#endif /* CONFIG_USE_OPTION_TABLE */
|
||||
|
||||
#else /* !CONFIG_ARCH_X86 */
|
||||
static inline void cmos_post_init(void) {}
|
||||
static inline void sanitize_cmos(void) {}
|
||||
#endif /* CONFIG_ARCH_X86 */
|
||||
|
||||
void cmos_post_init(void);
|
||||
|
||||
#endif /* PC80_MC146818RTC_H */
|
||||
|
|
|
@ -57,6 +57,8 @@ static void bootblock_main_with_timestamp(uint64_t base_timestamp,
|
|||
bootblock_mainboard_early_init();
|
||||
|
||||
sanitize_cmos();
|
||||
|
||||
if (CONFIG(CMOS_POST))
|
||||
cmos_post_init();
|
||||
|
||||
if (CONFIG(BOOTBLOCK_CONSOLE)) {
|
||||
|
|
Loading…
Reference in New Issue