From 6cd9f1a24c4746a11f0d3ac14abfe360baeba1a1 Mon Sep 17 00:00:00 2001 From: Tim Crawford Date: Fri, 5 Apr 2024 11:46:57 -0600 Subject: 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: 10d2af04e754 ("mb/system76: Add space for ramtop in CMOS layout") Change-Id: If30df1e6f2735cf767856e42dfede3d17fe494eb Signed-off-by: Tim Crawford Reviewed-on: https://review.coreboot.org/c/coreboot/+/81641 Reviewed-by: Jeremy Soller Tested-by: build bot (Jenkins) --- src/mainboard/system76/tgl-h/cmos.layout | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'src/mainboard/system76/tgl-h/cmos.layout') diff --git a/src/mainboard/system76/tgl-h/cmos.layout b/src/mainboard/system76/tgl-h/cmos.layout index 0513315c33..b3df3808cc 100644 --- a/src/mainboard/system76/tgl-h/cmos.layout +++ b/src/mainboard/system76/tgl-h/cmos.layout @@ -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 -- cgit v1.2.3