drivers/pc80/rtc: Turn comment into warning message

Change-Id: I80786042b1c464268cae8093bd5d3e8d73be5aee
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/40320
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
Nico Huber 2020-04-12 00:10:51 +02:00
parent 3e7633a6fe
commit 64ba44f7fb
1 changed files with 3 additions and 3 deletions

View File

@ -2,6 +2,7 @@
/* This file is part of the coreboot project. */
#include <stdint.h>
#include <console/console.h>
#include <option.h>
#include <pc80/mc146818rtc.h>
#include <fallback.h>
@ -35,9 +36,8 @@ int do_normal_boot(void)
unsigned char byte;
if (cmos_error() || (CONFIG(USE_OPTION_TABLE) && !cmos_lb_cks_valid())) {
/* Invalid CMOS checksum detected!
* Force fallback boot...
*/
printk(BIOS_WARNING,
"Invalid CMOS checksum detected! Force fallback boot...\n");
byte = cmos_read(RTC_BOOT_BYTE);
byte &= boot_set_fallback(byte) & 0x0f;
byte |= 0xf << 4;