mb/system76/*: Add CMOS layout and defaults

Change-Id: I88fa2e14401083407690ac2c959e43e0c162dca6
This commit is contained in:
Tim Crawford
2020-12-10 18:04:02 -07:00
committed by Jeremy Soller
parent 81c36a2ca3
commit aba2544a83
28 changed files with 320 additions and 0 deletions

View File

@@ -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

View File

@@ -0,0 +1,2 @@
boot_option=Fallback
preserve_smmstore=0

View File

@@ -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

View File

@@ -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

View File

@@ -0,0 +1,2 @@
boot_option=Fallback
preserve_smmstore=0

View File

@@ -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

View File

@@ -0,0 +1,2 @@
boot_option=Fallback
preserve_smmstore=0

View File

@@ -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

View File

@@ -1 +1,2 @@
DisplayPort_Output=Mini_DisplayPort
preserve_smmstore=0

View File

@@ -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

View File

@@ -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

View File

@@ -0,0 +1,2 @@
boot_option=Fallback
preserve_smmstore=0

View File

@@ -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

View File

@@ -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

View File

@@ -0,0 +1,2 @@
boot_option=Fallback
preserve_smmstore=0

View File

@@ -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

View File

@@ -1 +1,2 @@
DisplayPort_Output=Mini_DisplayPort
preserve_smmstore=0

View File

@@ -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

View File

@@ -0,0 +1,2 @@
boot_option=Fallback
preserve_smmstore=0

View File

@@ -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

View File

@@ -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

View File

@@ -0,0 +1,2 @@
boot_option=Fallback
preserve_smmstore=0

View File

@@ -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

View File

@@ -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

View File

@@ -0,0 +1,2 @@
boot_option=Fallback
preserve_smmstore=0

View File

@@ -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

View File

@@ -1 +1,2 @@
DisplayPort_Output=Mini_DisplayPort
preserve_smmstore=0

View File

@@ -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