diff --git a/src/mainboard/system76/addw1/Kconfig b/src/mainboard/system76/addw1/Kconfig index d386d2a3fb..d83b168331 100644 --- a/src/mainboard/system76/addw1/Kconfig +++ b/src/mainboard/system76/addw1/Kconfig @@ -14,6 +14,8 @@ config BOARD_SPECIFIC_OPTIONS select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES select HAVE_SMI_HANDLER + select HAVE_CMOS_DEFAULT + select HAVE_OPTION_TABLE select INTEL_GMA_HAVE_VBT select INTEL_LPSS_UART_FOR_CONSOLE select MAINBOARD_HAS_LPC_TPM @@ -28,6 +30,7 @@ config BOARD_SPECIFIC_OPTIONS select SYSTEM_TYPE_LAPTOP select TPM_RDRESP_NEED_DELAY select USE_LEGACY_8254_TIMER # Fix failure to boot GRUB + select USE_OPTION_TABLE config MAINBOARD_DIR string diff --git a/src/mainboard/system76/addw1/cmos.default b/src/mainboard/system76/addw1/cmos.default new file mode 100644 index 0000000000..39b95beee4 --- /dev/null +++ b/src/mainboard/system76/addw1/cmos.default @@ -0,0 +1,2 @@ +boot_option=Fallback +preserve_smmstore=0 diff --git a/src/mainboard/system76/addw1/cmos.layout b/src/mainboard/system76/addw1/cmos.layout new file mode 100644 index 0000000000..942a6b3c4d --- /dev/null +++ b/src/mainboard/system76/addw1/cmos.layout @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: GPL-2.0-only + +entries + +0 384 r 0 reserved_memory + +# RTC_BOOT_BYTE (coreboot hardcoded) +384 1 e 2 boot_option +388 4 h 0 reboot_counter + +#395 4 e 3 debug_level +408 1 h 1 preserve_smmstore +984 16 h 0 check_sum + +enumerations + +1 0 Disable +1 1 Enable + +2 0 Fallback +2 1 Normal + +3 0 Emergency +3 1 Alert +3 2 Critical +3 3 Error +3 4 Warning +3 5 Notice +3 6 Info +3 7 Debug +3 8 Spew + +checksums + +checksum 392 983 984 diff --git a/src/mainboard/system76/addw2/Kconfig b/src/mainboard/system76/addw2/Kconfig index 406e4ceacf..6590caecce 100644 --- a/src/mainboard/system76/addw2/Kconfig +++ b/src/mainboard/system76/addw2/Kconfig @@ -13,6 +13,8 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC_OLED select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES + select HAVE_CMOS_DEFAULT + select HAVE_OPTION_TABLE select HAVE_SMI_HANDLER select INTEL_GMA_HAVE_VBT select INTEL_LPSS_UART_FOR_CONSOLE @@ -28,6 +30,7 @@ config BOARD_SPECIFIC_OPTIONS select SYSTEM_TYPE_LAPTOP select TPM_RDRESP_NEED_DELAY select USE_LEGACY_8254_TIMER # Fix failure to boot GRUB + select USE_OPTION_TABLE config MAINBOARD_DIR string diff --git a/src/mainboard/system76/addw2/cmos.default b/src/mainboard/system76/addw2/cmos.default new file mode 100644 index 0000000000..39b95beee4 --- /dev/null +++ b/src/mainboard/system76/addw2/cmos.default @@ -0,0 +1,2 @@ +boot_option=Fallback +preserve_smmstore=0 diff --git a/src/mainboard/system76/addw2/cmos.layout b/src/mainboard/system76/addw2/cmos.layout new file mode 100644 index 0000000000..942a6b3c4d --- /dev/null +++ b/src/mainboard/system76/addw2/cmos.layout @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: GPL-2.0-only + +entries + +0 384 r 0 reserved_memory + +# RTC_BOOT_BYTE (coreboot hardcoded) +384 1 e 2 boot_option +388 4 h 0 reboot_counter + +#395 4 e 3 debug_level +408 1 h 1 preserve_smmstore +984 16 h 0 check_sum + +enumerations + +1 0 Disable +1 1 Enable + +2 0 Fallback +2 1 Normal + +3 0 Emergency +3 1 Alert +3 2 Critical +3 3 Error +3 4 Warning +3 5 Notice +3 6 Info +3 7 Debug +3 8 Spew + +checksums + +checksum 392 983 984 diff --git a/src/mainboard/system76/bonw14/cmos.default b/src/mainboard/system76/bonw14/cmos.default new file mode 100644 index 0000000000..39b95beee4 --- /dev/null +++ b/src/mainboard/system76/bonw14/cmos.default @@ -0,0 +1,2 @@ +boot_option=Fallback +preserve_smmstore=0 diff --git a/src/mainboard/system76/bonw14/cmos.layout b/src/mainboard/system76/bonw14/cmos.layout new file mode 100644 index 0000000000..942a6b3c4d --- /dev/null +++ b/src/mainboard/system76/bonw14/cmos.layout @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: GPL-2.0-only + +entries + +0 384 r 0 reserved_memory + +# RTC_BOOT_BYTE (coreboot hardcoded) +384 1 e 2 boot_option +388 4 h 0 reboot_counter + +#395 4 e 3 debug_level +408 1 h 1 preserve_smmstore +984 16 h 0 check_sum + +enumerations + +1 0 Disable +1 1 Enable + +2 0 Fallback +2 1 Normal + +3 0 Emergency +3 1 Alert +3 2 Critical +3 3 Error +3 4 Warning +3 5 Notice +3 6 Info +3 7 Debug +3 8 Spew + +checksums + +checksum 392 983 984 diff --git a/src/mainboard/system76/cml-u/cmos.default b/src/mainboard/system76/cml-u/cmos.default index b4890abf8d..089b480653 100644 --- a/src/mainboard/system76/cml-u/cmos.default +++ b/src/mainboard/system76/cml-u/cmos.default @@ -1 +1,2 @@ DisplayPort_Output=Mini_DisplayPort +preserve_smmstore=0 diff --git a/src/mainboard/system76/cml-u/cmos.layout b/src/mainboard/system76/cml-u/cmos.layout index f69185a1f0..0b36eef785 100644 --- a/src/mainboard/system76/cml-u/cmos.layout +++ b/src/mainboard/system76/cml-u/cmos.layout @@ -19,6 +19,7 @@ entries #start length type id name 0 384 r 0 reserved_memory 384 1 e 1 DisplayPort_Output +408 1 h 1 preserve_smmstore 984 16 h 0 check_sum enumerations diff --git a/src/mainboard/system76/gaze14/Kconfig b/src/mainboard/system76/gaze14/Kconfig index 079e06291c..2e7c98bc63 100644 --- a/src/mainboard/system76/gaze14/Kconfig +++ b/src/mainboard/system76/gaze14/Kconfig @@ -11,6 +11,8 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC_DGPU select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES + select HAVE_CMOS_DEFAULT + select HAVE_OPTION_TABLE select HAVE_SMI_HANDLER select INTEL_GMA_HAVE_VBT select INTEL_LPSS_UART_FOR_CONSOLE @@ -25,6 +27,7 @@ config BOARD_SPECIFIC_OPTIONS select SYSTEM_TYPE_LAPTOP select TPM_RDRESP_NEED_DELAY select USE_LEGACY_8254_TIMER # Fix failure to boot GRUB + select USE_OPTION_TABLE config MAINBOARD_DIR string diff --git a/src/mainboard/system76/gaze14/cmos.default b/src/mainboard/system76/gaze14/cmos.default new file mode 100644 index 0000000000..39b95beee4 --- /dev/null +++ b/src/mainboard/system76/gaze14/cmos.default @@ -0,0 +1,2 @@ +boot_option=Fallback +preserve_smmstore=0 diff --git a/src/mainboard/system76/gaze14/cmos.layout b/src/mainboard/system76/gaze14/cmos.layout new file mode 100644 index 0000000000..942a6b3c4d --- /dev/null +++ b/src/mainboard/system76/gaze14/cmos.layout @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: GPL-2.0-only + +entries + +0 384 r 0 reserved_memory + +# RTC_BOOT_BYTE (coreboot hardcoded) +384 1 e 2 boot_option +388 4 h 0 reboot_counter + +#395 4 e 3 debug_level +408 1 h 1 preserve_smmstore +984 16 h 0 check_sum + +enumerations + +1 0 Disable +1 1 Enable + +2 0 Fallback +2 1 Normal + +3 0 Emergency +3 1 Alert +3 2 Critical +3 3 Error +3 4 Warning +3 5 Notice +3 6 Info +3 7 Debug +3 8 Spew + +checksums + +checksum 392 983 984 diff --git a/src/mainboard/system76/gaze15/Kconfig b/src/mainboard/system76/gaze15/Kconfig index e01a7fc9d9..c4bb28bfa9 100644 --- a/src/mainboard/system76/gaze15/Kconfig +++ b/src/mainboard/system76/gaze15/Kconfig @@ -11,6 +11,8 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC_DGPU select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES + select HAVE_CMOS_DEFAULT + select HAVE_OPTION_TABLE select HAVE_SMI_HANDLER select INTEL_GMA_HAVE_VBT select INTEL_LPSS_UART_FOR_CONSOLE @@ -25,6 +27,7 @@ config BOARD_SPECIFIC_OPTIONS select SYSTEM_TYPE_LAPTOP select TPM_RDRESP_NEED_DELAY select USE_LEGACY_8254_TIMER # Fix failure to boot GRUB + select USE_OPTION_TABLE config MAINBOARD_DIR string diff --git a/src/mainboard/system76/gaze15/cmos.default b/src/mainboard/system76/gaze15/cmos.default new file mode 100644 index 0000000000..39b95beee4 --- /dev/null +++ b/src/mainboard/system76/gaze15/cmos.default @@ -0,0 +1,2 @@ +boot_option=Fallback +preserve_smmstore=0 diff --git a/src/mainboard/system76/gaze15/cmos.layout b/src/mainboard/system76/gaze15/cmos.layout new file mode 100644 index 0000000000..942a6b3c4d --- /dev/null +++ b/src/mainboard/system76/gaze15/cmos.layout @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: GPL-2.0-only + +entries + +0 384 r 0 reserved_memory + +# RTC_BOOT_BYTE (coreboot hardcoded) +384 1 e 2 boot_option +388 4 h 0 reboot_counter + +#395 4 e 3 debug_level +408 1 h 1 preserve_smmstore +984 16 h 0 check_sum + +enumerations + +1 0 Disable +1 1 Enable + +2 0 Fallback +2 1 Normal + +3 0 Emergency +3 1 Alert +3 2 Critical +3 3 Error +3 4 Warning +3 5 Notice +3 6 Info +3 7 Debug +3 8 Spew + +checksums + +checksum 392 983 984 diff --git a/src/mainboard/system76/kbl-u/cmos.default b/src/mainboard/system76/kbl-u/cmos.default index b4890abf8d..089b480653 100644 --- a/src/mainboard/system76/kbl-u/cmos.default +++ b/src/mainboard/system76/kbl-u/cmos.default @@ -1 +1,2 @@ DisplayPort_Output=Mini_DisplayPort +preserve_smmstore=0 diff --git a/src/mainboard/system76/kbl-u/cmos.layout b/src/mainboard/system76/kbl-u/cmos.layout index f69185a1f0..0b36eef785 100644 --- a/src/mainboard/system76/kbl-u/cmos.layout +++ b/src/mainboard/system76/kbl-u/cmos.layout @@ -19,6 +19,7 @@ entries #start length type id name 0 384 r 0 reserved_memory 384 1 e 1 DisplayPort_Output +408 1 h 1 preserve_smmstore 984 16 h 0 check_sum enumerations diff --git a/src/mainboard/system76/lemp9/cmos.default b/src/mainboard/system76/lemp9/cmos.default new file mode 100644 index 0000000000..39b95beee4 --- /dev/null +++ b/src/mainboard/system76/lemp9/cmos.default @@ -0,0 +1,2 @@ +boot_option=Fallback +preserve_smmstore=0 diff --git a/src/mainboard/system76/lemp9/cmos.layout b/src/mainboard/system76/lemp9/cmos.layout new file mode 100644 index 0000000000..942a6b3c4d --- /dev/null +++ b/src/mainboard/system76/lemp9/cmos.layout @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: GPL-2.0-only + +entries + +0 384 r 0 reserved_memory + +# RTC_BOOT_BYTE (coreboot hardcoded) +384 1 e 2 boot_option +388 4 h 0 reboot_counter + +#395 4 e 3 debug_level +408 1 h 1 preserve_smmstore +984 16 h 0 check_sum + +enumerations + +1 0 Disable +1 1 Enable + +2 0 Fallback +2 1 Normal + +3 0 Emergency +3 1 Alert +3 2 Critical +3 3 Error +3 4 Warning +3 5 Notice +3 6 Info +3 7 Debug +3 8 Spew + +checksums + +checksum 392 983 984 diff --git a/src/mainboard/system76/oryp5/Kconfig b/src/mainboard/system76/oryp5/Kconfig index d4ea655d7d..a87c453cc0 100644 --- a/src/mainboard/system76/oryp5/Kconfig +++ b/src/mainboard/system76/oryp5/Kconfig @@ -12,6 +12,8 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC_DGPU select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES + select HAVE_CMOS_DEFAULT + select HAVE_OPTION_TABLE select HAVE_SMI_HANDLER select INTEL_GMA_HAVE_VBT select INTEL_LPSS_UART_FOR_CONSOLE @@ -25,6 +27,7 @@ config BOARD_SPECIFIC_OPTIONS select SPD_READ_BY_WORD select SYSTEM_TYPE_LAPTOP select TPM_RDRESP_NEED_DELAY + select USE_OPTION_TABLE config MAINBOARD_DIR string diff --git a/src/mainboard/system76/oryp5/cmos.default b/src/mainboard/system76/oryp5/cmos.default new file mode 100644 index 0000000000..39b95beee4 --- /dev/null +++ b/src/mainboard/system76/oryp5/cmos.default @@ -0,0 +1,2 @@ +boot_option=Fallback +preserve_smmstore=0 diff --git a/src/mainboard/system76/oryp5/cmos.layout b/src/mainboard/system76/oryp5/cmos.layout new file mode 100644 index 0000000000..942a6b3c4d --- /dev/null +++ b/src/mainboard/system76/oryp5/cmos.layout @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: GPL-2.0-only + +entries + +0 384 r 0 reserved_memory + +# RTC_BOOT_BYTE (coreboot hardcoded) +384 1 e 2 boot_option +388 4 h 0 reboot_counter + +#395 4 e 3 debug_level +408 1 h 1 preserve_smmstore +984 16 h 0 check_sum + +enumerations + +1 0 Disable +1 1 Enable + +2 0 Fallback +2 1 Normal + +3 0 Emergency +3 1 Alert +3 2 Critical +3 3 Error +3 4 Warning +3 5 Notice +3 6 Info +3 7 Debug +3 8 Spew + +checksums + +checksum 392 983 984 diff --git a/src/mainboard/system76/oryp6/Kconfig b/src/mainboard/system76/oryp6/Kconfig index ff1fb23075..6754fbc58a 100644 --- a/src/mainboard/system76/oryp6/Kconfig +++ b/src/mainboard/system76/oryp6/Kconfig @@ -12,6 +12,8 @@ config BOARD_SPECIFIC_OPTIONS select EC_SYSTEM76_EC_DGPU select HAVE_ACPI_RESUME select HAVE_ACPI_TABLES + select HAVE_CMOS_DEFAULT + select HAVE_OPTION_TABLE select HAVE_SMI_HANDLER select INTEL_GMA_HAVE_VBT select INTEL_LPSS_UART_FOR_CONSOLE @@ -27,6 +29,7 @@ config BOARD_SPECIFIC_OPTIONS select SYSTEM_TYPE_LAPTOP select TPM_RDRESP_NEED_DELAY select USE_LEGACY_8254_TIMER # Fix failure to boot GRUB + select USE_OPTION_TABLE config MAINBOARD_DIR string diff --git a/src/mainboard/system76/oryp6/cmos.default b/src/mainboard/system76/oryp6/cmos.default new file mode 100644 index 0000000000..39b95beee4 --- /dev/null +++ b/src/mainboard/system76/oryp6/cmos.default @@ -0,0 +1,2 @@ +boot_option=Fallback +preserve_smmstore=0 diff --git a/src/mainboard/system76/oryp6/cmos.layout b/src/mainboard/system76/oryp6/cmos.layout new file mode 100644 index 0000000000..942a6b3c4d --- /dev/null +++ b/src/mainboard/system76/oryp6/cmos.layout @@ -0,0 +1,35 @@ +# SPDX-License-Identifier: GPL-2.0-only + +entries + +0 384 r 0 reserved_memory + +# RTC_BOOT_BYTE (coreboot hardcoded) +384 1 e 2 boot_option +388 4 h 0 reboot_counter + +#395 4 e 3 debug_level +408 1 h 1 preserve_smmstore +984 16 h 0 check_sum + +enumerations + +1 0 Disable +1 1 Enable + +2 0 Fallback +2 1 Normal + +3 0 Emergency +3 1 Alert +3 2 Critical +3 3 Error +3 4 Warning +3 5 Notice +3 6 Info +3 7 Debug +3 8 Spew + +checksums + +checksum 392 983 984 diff --git a/src/mainboard/system76/whl-u/cmos.default b/src/mainboard/system76/whl-u/cmos.default index b4890abf8d..089b480653 100644 --- a/src/mainboard/system76/whl-u/cmos.default +++ b/src/mainboard/system76/whl-u/cmos.default @@ -1 +1,2 @@ DisplayPort_Output=Mini_DisplayPort +preserve_smmstore=0 diff --git a/src/mainboard/system76/whl-u/cmos.layout b/src/mainboard/system76/whl-u/cmos.layout index f69185a1f0..0b36eef785 100644 --- a/src/mainboard/system76/whl-u/cmos.layout +++ b/src/mainboard/system76/whl-u/cmos.layout @@ -19,6 +19,7 @@ entries #start length type id name 0 384 r 0 reserved_memory 384 1 e 1 DisplayPort_Output +408 1 h 1 preserve_smmstore 984 16 h 0 check_sum enumerations