diff options
author | Tim Crawford <tcrawford@system76.com> | 2021-08-09 16:55:07 -0600 |
---|---|---|
committer | Nick Vaccaro <nvaccaro@google.com> | 2021-08-12 17:59:21 +0000 |
commit | 9f7e9cbc2686c478af3d9cd17ea3103cf9fb1d20 (patch) | |
tree | 16b931de8c889d3ada63cef9ee4e6f41917eafbd /src/mainboard/system76/gaze15/cmos.layout | |
parent | 716320b726a4fa6e7f42f2aec90de6f98ef52dd3 (diff) |
mb/system76/*: Add CMOS option table
System76 uses several custom CMOS values downstream. Reduce our diff by
providing a generic layout with the defaults:
boot_option=Fallback
debug_level=Debug
power_on_after_fail=Enable
Tested on galp3-c, gaze15, oryp5, oryp6. All boards boot multiple times
with USE_OPTION_TABLE selected.
Change-Id: Ie57b0e5713bba8ad46e1a4123a3ddd43e0eea964
Signed-off-by: Tim Crawford <tcrawford@system76.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/56888
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Arthur Heymans <arthur@aheymans.xyz>
Diffstat (limited to 'src/mainboard/system76/gaze15/cmos.layout')
-rw-r--r-- | src/mainboard/system76/gaze15/cmos.layout | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/mainboard/system76/gaze15/cmos.layout b/src/mainboard/system76/gaze15/cmos.layout new file mode 100644 index 0000000000..c0275d6218 --- /dev/null +++ b/src/mainboard/system76/gaze15/cmos.layout @@ -0,0 +1,36 @@ +# SPDX-License-Identifier: GPL-2.0-only + +entries + +0 384 r 0 reserved_memory + +# RTC_BOOT_BYTE (coreboot hardcoded) +384 1 e 4 boot_option +388 4 h 0 reboot_counter + +395 4 e 6 debug_level +409 2 e 7 power_on_after_fail +984 16 h 0 check_sum + +enumerations + +4 0 Fallback +4 1 Normal + +6 0 Emergency +6 1 Alert +6 2 Critical +6 3 Error +6 4 Warning +6 5 Notice +6 6 Info +6 7 Debug +6 8 Spew + +7 0 Disable +7 1 Enable +7 2 Keep + +checksums + +checksum 392 983 984 |