summaryrefslogtreecommitdiff
path: root/src/mainboard/lenovo/t430s
diff options
context:
space:
mode:
authorBill XIE <persmule@hardenedlinux.org>2020-05-14 17:25:37 +0800
committerPatrick Georgi <pgeorgi@google.com>2020-05-18 07:41:07 +0000
commitf769ee3e1b060ff94f8f087a810fb2c83e4e99fe (patch)
tree67cd4ed55ad8d57e5d67eb1df52f7195d7460f8e /src/mainboard/lenovo/t430s
parentcbaa835f211eb04ba6eb5e9c3c0095534e93a100 (diff)
mb/lenovo/{x230, t430s}: add H8_HAS_PRIMARY_FN_KEYS for {x230s, t431s}
X230s and T431s have keyboard similar to the one found on t440p, so H8_HAS_PRIMARY_FN_KEYS and related cmos options may apply to them. Tested on both X230s and T431s. Change-Id: I234820b92093acdd64ff60cae39015547b6e981e Signed-off-by: Bill XIE <persmule@hardenedlinux.org> Reviewed-on: https://review.coreboot.org/c/coreboot/+/41403 Reviewed-by: Alexander Couzens <lynxis@fe80.eu> Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'src/mainboard/lenovo/t430s')
-rw-r--r--src/mainboard/lenovo/t430s/Kconfig1
-rw-r--r--src/mainboard/lenovo/t430s/cmos.default1
-rw-r--r--src/mainboard/lenovo/t430s/cmos.layout1
3 files changed, 3 insertions, 0 deletions
diff --git a/src/mainboard/lenovo/t430s/Kconfig b/src/mainboard/lenovo/t430s/Kconfig
index 15b0912d44..81b87c8ba0 100644
--- a/src/mainboard/lenovo/t430s/Kconfig
+++ b/src/mainboard/lenovo/t430s/Kconfig
@@ -9,6 +9,7 @@ config BOARD_SPECIFIC_OPTIONS
select EC_LENOVO_PMH7
select EC_LENOVO_H8
select H8_HAS_BAT_TRESHOLDS_IMPL
+ select H8_HAS_PRIMARY_FN_KEYS if BOARD_LENOVO_T431S
select NO_UART_ON_SUPERIO
select BOARD_ROMSIZE_KB_16384
select HAVE_ACPI_TABLES
diff --git a/src/mainboard/lenovo/t430s/cmos.default b/src/mainboard/lenovo/t430s/cmos.default
index 3e1f130ce4..a30c90dc1f 100644
--- a/src/mainboard/lenovo/t430s/cmos.default
+++ b/src/mainboard/lenovo/t430s/cmos.default
@@ -15,3 +15,4 @@ trackpoint=Enable
backlight=Both
enable_dual_graphics=Disable
usb_always_on=Disable
+f1_to_f12_as_primary=Enable
diff --git a/src/mainboard/lenovo/t430s/cmos.layout b/src/mainboard/lenovo/t430s/cmos.layout
index 451bf7daf0..1697806aa3 100644
--- a/src/mainboard/lenovo/t430s/cmos.layout
+++ b/src/mainboard/lenovo/t430s/cmos.layout
@@ -56,6 +56,7 @@ entries
419 2 e 12 usb_always_on
421 1 e 9 sata_mode
422 2 e 10 backlight
+424 1 e 1 f1_to_f12_as_primary
# coreboot config options: cpu
#424 8 r 0 unused