diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/drivers/pc80/rtc/mc146818rtc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/drivers/pc80/rtc/mc146818rtc.c b/src/drivers/pc80/rtc/mc146818rtc.c index 6474ecbd1a..b4ddadd4f7 100644 --- a/src/drivers/pc80/rtc/mc146818rtc.c +++ b/src/drivers/pc80/rtc/mc146818rtc.c @@ -97,9 +97,9 @@ static bool __cmos_init(bool invalid) if (invalid || cmos_invalid || checksum_invalid) { if (!CONFIG(USE_OPTION_TABLE)) { - cmos_write(0, 0x01); - cmos_write(0, 0x03); - cmos_write(0, 0x05); + cmos_write(0, RTC_CLK_SECOND_ALARM); + cmos_write(0, RTC_CLK_MINUTE_ALARM); + cmos_write(0, RTC_CLK_HOUR_ALARM); for (i = 10; i < 128; i++) cmos_write(0, i); cleared_cmos = true; |