diff --git a/src/soc/intel/braswell/bootblock/bootblock.c b/src/soc/intel/braswell/bootblock/bootblock.c index 2c9783ad5b..8ab95efa1d 100644 --- a/src/soc/intel/braswell/bootblock/bootblock.c +++ b/src/soc/intel/braswell/bootblock/bootblock.c @@ -2,7 +2,6 @@ #include #include -#include #include #include #include @@ -14,6 +13,7 @@ #include #include #include +#include asmlinkage void bootblock_c_entry(uint64_t base_timestamp) { @@ -79,11 +79,10 @@ static void soc_rtc_init(void) { int rtc_failed = rtc_failure(); - if (rtc_failed) { + if (rtc_failed) printk(BIOS_ERR, "RTC Failure detected. Resetting date to %x/%x/%x%x\n", - COREBOOT_BUILD_MONTH_BCD, COREBOOT_BUILD_DAY_BCD, 0x20, - COREBOOT_BUILD_YEAR_BCD); - } + coreboot_build_date.month, coreboot_build_date.day, + coreboot_build_date.century, coreboot_build_date.year); cmos_init(rtc_failed); }