From f77d6ba911d757aacdc000583af006d63ae7bc14 Mon Sep 17 00:00:00 2001 From: Arthur Heymans Date: Tue, 31 Jan 2017 23:16:25 +0100 Subject: [PATCH] Select a default SeaBIOS PS2 timeout in H8 Kconfig This timeout is probably needed on all devices with Lenovo H8 embedded controllers so set the default there. Change-Id: I830ab1894f7c0f10f55c82e398becf44d810852d Signed-off-by: Arthur Heymans Reviewed-on: https://review.coreboot.org/18274 Tested-by: build bot (Jenkins) Reviewed-by: Alexander Couzens --- src/ec/lenovo/h8/Kconfig | 9 +++++++++ src/mainboard/lenovo/t400/Kconfig | 5 ----- src/mainboard/lenovo/t420/Kconfig | 5 ----- src/mainboard/lenovo/t420s/Kconfig | 5 ----- src/mainboard/lenovo/t520/Kconfig | 5 ----- src/mainboard/lenovo/t60/Kconfig | 5 ----- src/mainboard/lenovo/x200/Kconfig | 5 ----- src/mainboard/lenovo/x201/Kconfig | 5 ----- src/mainboard/lenovo/x220/Kconfig | 5 ----- src/mainboard/lenovo/x60/Kconfig | 5 ----- 10 files changed, 9 insertions(+), 45 deletions(-) diff --git a/src/ec/lenovo/h8/Kconfig b/src/ec/lenovo/h8/Kconfig index 6a9d055161..98e8e308c1 100644 --- a/src/ec/lenovo/h8/Kconfig +++ b/src/ec/lenovo/h8/Kconfig @@ -2,5 +2,14 @@ config EC_LENOVO_H8 select EC_ACPI bool +if EC_LENOVO_H8 + +config SEABIOS_PS2_TIMEOUT + int + depends on PAYLOAD_SEABIOS + default 3000 + +endif + config H8_DOCK_EARLY_INIT bool diff --git a/src/mainboard/lenovo/t400/Kconfig b/src/mainboard/lenovo/t400/Kconfig index 150199e01b..8eb1a57178 100644 --- a/src/mainboard/lenovo/t400/Kconfig +++ b/src/mainboard/lenovo/t400/Kconfig @@ -54,9 +54,4 @@ config ONBOARD_VGA_IS_PRIMARY bool default y -config SEABIOS_PS2_TIMEOUT - int - depends on PAYLOAD_SEABIOS - default 3000 - endif # BOARD_LENOVO_T400 diff --git a/src/mainboard/lenovo/t420/Kconfig b/src/mainboard/lenovo/t420/Kconfig index e2272b1201..04233e7ef6 100644 --- a/src/mainboard/lenovo/t420/Kconfig +++ b/src/mainboard/lenovo/t420/Kconfig @@ -76,9 +76,4 @@ config ONBOARD_VGA_IS_PRIMARY bool default y -config SEABIOS_PS2_TIMEOUT - int - depends on PAYLOAD_SEABIOS - default 3000 - endif # BOARD_LENOVO_T420 diff --git a/src/mainboard/lenovo/t420s/Kconfig b/src/mainboard/lenovo/t420s/Kconfig index d278ccbdfb..feacb51170 100644 --- a/src/mainboard/lenovo/t420s/Kconfig +++ b/src/mainboard/lenovo/t420s/Kconfig @@ -75,9 +75,4 @@ config ONBOARD_VGA_IS_PRIMARY bool default y -config SEABIOS_PS2_TIMEOUT - int - depends on PAYLOAD_SEABIOS - default 3000 - endif # BOARD_LENOVO_T420S diff --git a/src/mainboard/lenovo/t520/Kconfig b/src/mainboard/lenovo/t520/Kconfig index 4ce27f1574..ee5dd8163a 100644 --- a/src/mainboard/lenovo/t520/Kconfig +++ b/src/mainboard/lenovo/t520/Kconfig @@ -75,9 +75,4 @@ config ONBOARD_VGA_IS_PRIMARY bool default y -config SEABIOS_PS2_TIMEOUT - int - depends on PAYLOAD_SEABIOS - default 3000 - endif # BOARD_LENOVO_T520 diff --git a/src/mainboard/lenovo/t60/Kconfig b/src/mainboard/lenovo/t60/Kconfig index 9fb46e2eb6..289c06a21d 100644 --- a/src/mainboard/lenovo/t60/Kconfig +++ b/src/mainboard/lenovo/t60/Kconfig @@ -42,9 +42,4 @@ config MAX_CPUS int default 2 -config SEABIOS_PS2_TIMEOUT - int - depends on PAYLOAD_SEABIOS - default 3000 - endif diff --git a/src/mainboard/lenovo/x200/Kconfig b/src/mainboard/lenovo/x200/Kconfig index cec08f6c8d..ff6139eee5 100644 --- a/src/mainboard/lenovo/x200/Kconfig +++ b/src/mainboard/lenovo/x200/Kconfig @@ -47,9 +47,4 @@ config CBFS_SIZE hex default 0x200000 -config SEABIOS_PS2_TIMEOUT - int - depends on PAYLOAD_SEABIOS - default 3000 - endif # BOARD_LENOVO_X200 diff --git a/src/mainboard/lenovo/x201/Kconfig b/src/mainboard/lenovo/x201/Kconfig index 0bf6135f78..239a815eef 100644 --- a/src/mainboard/lenovo/x201/Kconfig +++ b/src/mainboard/lenovo/x201/Kconfig @@ -48,9 +48,4 @@ config CPU_ADDR_BITS int default 36 -config SEABIOS_PS2_TIMEOUT - int - depends on PAYLOAD_SEABIOS - default 3000 - endif diff --git a/src/mainboard/lenovo/x220/Kconfig b/src/mainboard/lenovo/x220/Kconfig index 5367fd1592..0ef6689b77 100644 --- a/src/mainboard/lenovo/x220/Kconfig +++ b/src/mainboard/lenovo/x220/Kconfig @@ -73,9 +73,4 @@ config MAINBOARD_PCI_SUBSYSTEM_DEVICE_ID hex default 0x21db -config SEABIOS_PS2_TIMEOUT - int - depends on PAYLOAD_SEABIOS - default 3000 - endif # BOARD_LENOVO_X220 || BOARD_LENOVO_X220I diff --git a/src/mainboard/lenovo/x60/Kconfig b/src/mainboard/lenovo/x60/Kconfig index d80b22d34d..7667a75938 100644 --- a/src/mainboard/lenovo/x60/Kconfig +++ b/src/mainboard/lenovo/x60/Kconfig @@ -49,9 +49,4 @@ config MAX_CPUS int default 2 -config SEABIOS_PS2_TIMEOUT - int - depends on PAYLOAD_SEABIOS - default 3000 - endif