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>
This commit is contained in:
Bill XIE 2020-05-14 17:25:37 +08:00 committed by Patrick Georgi
parent cbaa835f21
commit f769ee3e1b
6 changed files with 6 additions and 0 deletions

View File

@ -9,6 +9,7 @@ config BOARD_SPECIFIC_OPTIONS
select EC_LENOVO_PMH7 select EC_LENOVO_PMH7
select EC_LENOVO_H8 select EC_LENOVO_H8
select H8_HAS_BAT_TRESHOLDS_IMPL select H8_HAS_BAT_TRESHOLDS_IMPL
select H8_HAS_PRIMARY_FN_KEYS if BOARD_LENOVO_T431S
select NO_UART_ON_SUPERIO select NO_UART_ON_SUPERIO
select BOARD_ROMSIZE_KB_16384 select BOARD_ROMSIZE_KB_16384
select HAVE_ACPI_TABLES select HAVE_ACPI_TABLES

View File

@ -15,3 +15,4 @@ trackpoint=Enable
backlight=Both backlight=Both
enable_dual_graphics=Disable enable_dual_graphics=Disable
usb_always_on=Disable usb_always_on=Disable
f1_to_f12_as_primary=Enable

View File

@ -56,6 +56,7 @@ entries
419 2 e 12 usb_always_on 419 2 e 12 usb_always_on
421 1 e 9 sata_mode 421 1 e 9 sata_mode
422 2 e 10 backlight 422 2 e 10 backlight
424 1 e 1 f1_to_f12_as_primary
# coreboot config options: cpu # coreboot config options: cpu
#424 8 r 0 unused #424 8 r 0 unused

View File

@ -9,6 +9,7 @@ config BOARD_SPECIFIC_OPTIONS
select EC_LENOVO_PMH7 select EC_LENOVO_PMH7
select EC_LENOVO_H8 select EC_LENOVO_H8
select H8_HAS_BAT_TRESHOLDS_IMPL select H8_HAS_BAT_TRESHOLDS_IMPL
select H8_HAS_PRIMARY_FN_KEYS if BOARD_LENOVO_X230S
select NO_UART_ON_SUPERIO select NO_UART_ON_SUPERIO
select BOARD_ROMSIZE_KB_12288 if BOARD_LENOVO_X230 || BOARD_LENOVO_X230T select BOARD_ROMSIZE_KB_12288 if BOARD_LENOVO_X230 || BOARD_LENOVO_X230T
select BOARD_ROMSIZE_KB_16384 if BOARD_LENOVO_X230S select BOARD_ROMSIZE_KB_16384 if BOARD_LENOVO_X230S

View File

@ -14,3 +14,4 @@ sticky_fn=Disable
trackpoint=Enable trackpoint=Enable
backlight=Both backlight=Both
usb_always_on=Disable usb_always_on=Disable
f1_to_f12_as_primary=Enable

View File

@ -56,6 +56,7 @@ entries
419 2 e 12 usb_always_on 419 2 e 12 usb_always_on
421 1 e 9 sata_mode 421 1 e 9 sata_mode
422 2 e 10 backlight 422 2 e 10 backlight
424 1 e 1 f1_to_f12_as_primary
# coreboot config options: cpu # coreboot config options: cpu
#424 8 r 0 unused #424 8 r 0 unused