mb/system76: Exclude ramtop from CMOS checksum
Use the default position for ramtop and exclude it from the checksum.
Fixes invalid checksum after caching ramtop causing things like
disabling CSME to not work.
Fixes: 10d2af04e7 ("mb/system76: Add space for ramtop in CMOS layout")
Change-Id: If30df1e6f2735cf767856e42dfede3d17fe494eb
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/81641
Reviewed-by: Jeremy Soller <jeremy@system76.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
4050448944
commit
6cd9f1a24c
12 changed files with 60 additions and 24 deletions
|
|
@ -14,7 +14,10 @@ entries
|
|||
412 4 e 6 debug_level
|
||||
416 1 e 2 me_state
|
||||
417 3 h 0 me_state_counter
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -37,4 +40,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ entries
|
|||
412 4 e 6 debug_level
|
||||
416 1 e 2 me_state
|
||||
417 3 h 0 me_state_counter
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -37,4 +40,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ entries
|
|||
412 4 e 6 debug_level
|
||||
416 1 e 2 me_state
|
||||
417 3 h 0 me_state_counter
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -37,4 +40,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ entries
|
|||
412 4 e 6 debug_level
|
||||
416 1 e 2 me_state
|
||||
417 3 h 0 me_state_counter
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -37,4 +40,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ entries
|
|||
412 4 e 6 debug_level
|
||||
416 1 e 2 me_state
|
||||
417 3 h 0 me_state_counter
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -37,4 +40,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
|
|
@ -12,7 +12,10 @@ entries
|
|||
400 8 r 0 century
|
||||
|
||||
412 4 e 6 debug_level
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -32,4 +35,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ entries
|
|||
412 4 e 6 debug_level
|
||||
416 1 e 2 me_state
|
||||
417 3 h 0 me_state_counter
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -37,4 +40,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ entries
|
|||
412 4 e 6 debug_level
|
||||
416 1 e 2 me_state
|
||||
417 3 h 0 me_state_counter
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -37,4 +40,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ entries
|
|||
412 4 e 6 debug_level
|
||||
416 1 e 2 me_state
|
||||
417 3 h 0 me_state_counter
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -37,4 +40,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ entries
|
|||
412 4 e 6 debug_level
|
||||
416 1 e 2 me_state
|
||||
417 3 h 0 me_state_counter
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -37,4 +40,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ entries
|
|||
412 4 e 6 debug_level
|
||||
416 1 e 2 me_state
|
||||
417 3 h 0 me_state_counter
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -37,4 +40,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
|
|
@ -14,7 +14,10 @@ entries
|
|||
412 4 e 6 debug_level
|
||||
416 1 e 2 me_state
|
||||
417 3 h 0 me_state_counter
|
||||
904 80 h 0 ramtop
|
||||
|
||||
# CMOS_VSTART_ramtop
|
||||
800 80 r 0 ramtop
|
||||
|
||||
984 16 h 0 check_sum
|
||||
|
||||
enumerations
|
||||
|
|
@ -37,4 +40,4 @@ enumerations
|
|||
|
||||
checksums
|
||||
|
||||
checksum 408 983 984
|
||||
checksum 408 799 984
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue