From 2d9725e763c480f23a9e649df1424b1dc2fb3cfd Mon Sep 17 00:00:00 2001 From: Paul Menzel Date: Sat, 26 Apr 2014 10:28:19 +0200 Subject: [PATCH] drivers/pc80/Kconfig: Do not init PS/2 keyboard if GRUB 2 is chosen as payload If the user selects GRUB 2 as the payload in Kconfig, coreboot does not need to initialize the PS/2 keyboard as GRUB 2 is going to do it. Change-Id: Ia5d902e7c0fa34eaff26a31507751815bf2d2581 Signed-off-by: Paul Menzel Reviewed-on: http://review.coreboot.org/5583 Tested-by: build bot (Jenkins) Reviewed-by: Patrick Georgi --- src/drivers/pc80/Kconfig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/pc80/Kconfig b/src/drivers/pc80/Kconfig index 37ba6bcef7..485dd6408f 100644 --- a/src/drivers/pc80/Kconfig +++ b/src/drivers/pc80/Kconfig @@ -2,8 +2,8 @@ # reliably support PS/2 init themselves. config DRIVERS_PS2_KEYBOARD bool "PS/2 keyboard init" - default n if PAYLOAD_SEABIOS - default y if !PAYLOAD_SEABIOS + default n if PAYLOAD_GRUB2 || PAYLOAD_SEABIOS + default y if !(PAYLOAD_GRUB2 || PAYLOAD_SEABIOS) help Enable this option to initialize PS/2 keyboards found connected to the PS/2 port.