diff options
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/pc80/mc146818rtc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/drivers/pc80/mc146818rtc.c b/src/drivers/pc80/mc146818rtc.c index b18f22f43d..fe669caa98 100644 --- a/src/drivers/pc80/mc146818rtc.c +++ b/src/drivers/pc80/mc146818rtc.c @@ -56,6 +56,9 @@ static void cmos_reset_date(void) static int cmos_checksum_valid(int range_start, int range_end, int cks_loc) { + if (IS_ENABLED(CONFIG_STATIC_OPTION_TABLE)) + return 1; + int i; u16 sum, old_sum; sum = 0; |