mb/system76/*: cmos.layout: Reserve century byte

Windows will write to the century byte (0x32), causing the option table
checksum to be invalid and reset all options to their default values.
Move options and checksum to start after the century byte.

Change-Id: Ia395acacda1e251251c880587bbf61d7ee81ba3d
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/57055
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Jeremy Soller <jeremy@system76.com>
This commit is contained in:
Tim Crawford 2021-08-19 16:22:15 -06:00 committed by Felix Held
parent e4859b7406
commit f05bd8830d
5 changed files with 25 additions and 10 deletions

View File

@ -8,8 +8,11 @@ entries
384 1 e 4 boot_option
388 4 h 0 reboot_counter
395 4 e 6 debug_level
# RTC_CLK_ALTCENTURY
400 8 r 0 century
409 2 e 7 power_on_after_fail
412 4 h 6 debug_level
984 16 h 0 check_sum
enumerations
@ -33,4 +36,4 @@ enumerations
checksums
checksum 392 983 984
checksum 408 983 984

View File

@ -8,8 +8,11 @@ entries
384 1 e 4 boot_option
388 4 h 0 reboot_counter
395 4 e 6 debug_level
# RTC_CLK_ALTCENTURY
400 8 r 0 century
409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
984 16 h 0 check_sum
enumerations
@ -33,4 +36,4 @@ enumerations
checksums
checksum 392 983 984
checksum 408 983 984

View File

@ -8,8 +8,11 @@ entries
384 1 e 4 boot_option
388 4 h 0 reboot_counter
395 4 e 6 debug_level
# RTC_CLK_ALTCENTURY
400 8 r 0 century
409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
984 16 h 0 check_sum
enumerations
@ -33,4 +36,4 @@ enumerations
checksums
checksum 392 983 984
checksum 408 983 984

View File

@ -8,8 +8,11 @@ entries
384 1 e 4 boot_option
388 4 h 0 reboot_counter
395 4 e 6 debug_level
# RTC_CLK_ALTCENTURY
400 8 r 0 century
409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
984 16 h 0 check_sum
enumerations
@ -33,4 +36,4 @@ enumerations
checksums
checksum 392 983 984
checksum 408 983 984

View File

@ -8,8 +8,11 @@ entries
384 1 e 4 boot_option
388 4 h 0 reboot_counter
395 4 e 6 debug_level
# RTC_CLK_ALTCENTURY
400 8 r 0 century
409 2 e 7 power_on_after_fail
412 4 e 6 debug_level
984 16 h 0 check_sum
enumerations
@ -33,4 +36,4 @@ enumerations
checksums
checksum 392 983 984
checksum 408 983 984