summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niewöhner <foss@mniewoehner.de>2019-09-22 13:54:30 +0200
committerPatrick Georgi <pgeorgi@google.com>2019-09-30 11:34:25 +0000
commitcc0dd5f8a2b017dbca8514b26697f5d3970c7ffe (patch)
tree20315bc8908c2dd4e77085572f9ad1a1e7340d4d
parent4b5d17ebb3431271b2783e53637c02bbdf5b3c38 (diff)
mb/supermicro/x11-lga1151-series: fix cmos layout and add default config
This fixes the warning that power_on_after_fail could not be found, adds a default config and adds the parameter hyper_threading. Change-Id: I10b0aa71fa7916b01e93e16cbd81e427fd14f6a4 Signed-off-by: Michael Niewöhner <foss@mniewoehner.de> Reviewed-on: https://review.coreboot.org/c/coreboot/+/35526 Reviewed-by: Patrick Rudolph <siro@das-labor.org> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/Kconfig1
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/cmos.default3
-rw-r--r--src/mainboard/supermicro/x11-lga1151-series/cmos.layout13
3 files changed, 16 insertions, 1 deletions
diff --git a/src/mainboard/supermicro/x11-lga1151-series/Kconfig b/src/mainboard/supermicro/x11-lga1151-series/Kconfig
index 6fc9aed7f0..541b23d5b5 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/Kconfig
+++ b/src/mainboard/supermicro/x11-lga1151-series/Kconfig
@@ -4,6 +4,7 @@ config BOARD_SUPERMICRO_BASEBOARD_X11_LGA1151_SERIES
select HAVE_ACPI_RESUME
select HAVE_ACPI_TABLES
select HAVE_OPTION_TABLE
+ select HAVE_CMOS_DEFAULT
select SOC_INTEL_KABYLAKE
select SKYLAKE_SOC_PCH_H
select MAINBOARD_HAS_LPC_TPM
diff --git a/src/mainboard/supermicro/x11-lga1151-series/cmos.default b/src/mainboard/supermicro/x11-lga1151-series/cmos.default
new file mode 100644
index 0000000000..d56495357c
--- /dev/null
+++ b/src/mainboard/supermicro/x11-lga1151-series/cmos.default
@@ -0,0 +1,3 @@
+boot_option=Fallback
+debug_level=Debug
+power_on_after_fail=Enable
diff --git a/src/mainboard/supermicro/x11-lga1151-series/cmos.layout b/src/mainboard/supermicro/x11-lga1151-series/cmos.layout
index 201ca3320c..03aea17f8f 100644
--- a/src/mainboard/supermicro/x11-lga1151-series/cmos.layout
+++ b/src/mainboard/supermicro/x11-lga1151-series/cmos.layout
@@ -17,7 +17,6 @@
entries
#start-bit length config config-ID name
-
0 120 r 0 reserved_memory
# -----------------------------------------------------------------
@@ -28,8 +27,20 @@ entries
# -----------------------------------------------------------------
# coreboot config options: console
395 4 e 6 debug_level
+
+# -----------------------------------------------------------------
+# coreboot config options: cpu
+400 1 e 2 hyper_threading
+
+# -----------------------------------------------------------------
+# coreboot config options: southbridge
+409 2 e 7 power_on_after_fail
+
+# -----------------------------------------------------------------
+# coreboot config options: bootloader
448 128 r 0 vbnv
+# -----------------------------------------------------------------
# coreboot config options: check sums
984 16 h 0 check_sum