drivers/pc80/rtc: Enable normal/fallback without USE_OPTION_TABLE

Due the !USE_OPTION_TABLE it always booted to fallback.

Change-Id: I44eb50df4389d1ac9e4c746f53654aff1055d400
Signed-off-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38184
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
Kyösti Mälkki 2020-01-04 20:45:04 +02:00 committed by Nico Huber
parent b2680a12e4
commit 94aaf5b471
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ int do_normal_boot(void)
{ {
unsigned char byte; unsigned char byte;
if (!CONFIG(USE_OPTION_TABLE) || cmos_error() || !cmos_lb_cks_valid()) { if (cmos_error() || (CONFIG(USE_OPTION_TABLE) && !cmos_lb_cks_valid())) {
/* Invalid CMOS checksum detected! /* Invalid CMOS checksum detected!
* Force fallback boot... * Force fallback boot...
*/ */