summaryrefslogtreecommitdiff
path: root/src/mainboard/system76
diff options
context:
space:
mode:
authorTim Crawford <tcrawford@system76.com>2021-08-19 16:22:15 -0600
committerFelix Held <felix-coreboot@felixheld.de>2021-09-02 15:28:31 +0000
commitf05bd8830de6229f11ab69cca5c4e069e180b3b9 (patch)
treeb0b2c0f3397ef3f47da406314e54d2a57de2ce99 /src/mainboard/system76
parente4859b7406de3a215413e2b5f74450ee0c256539 (diff)
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>
Diffstat (limited to 'src/mainboard/system76')
-rw-r--r--src/mainboard/system76/gaze15/cmos.layout7
-rw-r--r--src/mainboard/system76/lemp9/cmos.layout7
-rw-r--r--src/mainboard/system76/oryp5/cmos.layout7
-rw-r--r--src/mainboard/system76/oryp6/cmos.layout7
-rw-r--r--src/mainboard/system76/whl-u/cmos.layout7
5 files changed, 25 insertions, 10 deletions
diff --git a/src/mainboard/system76/gaze15/cmos.layout b/src/mainboard/system76/gaze15/cmos.layout
index c0275d6218..ba36b0bd1b 100644
--- a/src/mainboard/system76/gaze15/cmos.layout
+++ b/src/mainboard/system76/gaze15/cmos.layout
@@ -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
diff --git a/src/mainboard/system76/lemp9/cmos.layout b/src/mainboard/system76/lemp9/cmos.layout
index c0275d6218..ca7c7a4c5c 100644
--- a/src/mainboard/system76/lemp9/cmos.layout
+++ b/src/mainboard/system76/lemp9/cmos.layout
@@ -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
diff --git a/src/mainboard/system76/oryp5/cmos.layout b/src/mainboard/system76/oryp5/cmos.layout
index c0275d6218..ca7c7a4c5c 100644
--- a/src/mainboard/system76/oryp5/cmos.layout
+++ b/src/mainboard/system76/oryp5/cmos.layout
@@ -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
diff --git a/src/mainboard/system76/oryp6/cmos.layout b/src/mainboard/system76/oryp6/cmos.layout
index c0275d6218..ca7c7a4c5c 100644
--- a/src/mainboard/system76/oryp6/cmos.layout
+++ b/src/mainboard/system76/oryp6/cmos.layout
@@ -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
diff --git a/src/mainboard/system76/whl-u/cmos.layout b/src/mainboard/system76/whl-u/cmos.layout
index c0275d6218..ca7c7a4c5c 100644
--- a/src/mainboard/system76/whl-u/cmos.layout
+++ b/src/mainboard/system76/whl-u/cmos.layout
@@ -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