summaryrefslogtreecommitdiff
path: root/payloads/libpayload/Kconfig
diff options
context:
space:
mode:
authorDuncan Laurie <dlaurie@google.com>2021-04-28 09:40:26 -0700
committerRaul Rangel <rrangel@chromium.org>2021-05-03 15:55:52 +0000
commitd87bbde169f84b8c723b0d5289f39df164251b52 (patch)
tree445467cafc592ed94ae44335f59e7b1d727a3f48 /payloads/libpayload/Kconfig
parente46e740f9155a7beeb11358b2312c3a6f6922979 (diff)
libpayload: i8042: Enable keyboard translation by default on exit
Add a Kconfig option to set the keyboard translation state on exit and set the default to true. This restores the keyboard to the power-up defaults for firmware that does not always run libpayload keyboard init to have consistent state, and provides an option to disable translation for keyboards that might need it. Change-Id: I25dfe3f425a5bb57e97476564886672b707aa3bd Signed-off-by: Duncan Laurie <dlaurie@google.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/52737 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Furquan Shaikh <furquan@google.com> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Singer <felixsinger@posteo.net> Reviewed-by: Raul Rangel <rrangel@chromium.org> Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'payloads/libpayload/Kconfig')
-rw-r--r--payloads/libpayload/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/payloads/libpayload/Kconfig b/payloads/libpayload/Kconfig
index 7a502b5853..f7d78e069d 100644
--- a/payloads/libpayload/Kconfig
+++ b/payloads/libpayload/Kconfig
@@ -385,6 +385,11 @@ config PC_KEYBOARD_LAYOUT_DE
depends on PC_KEYBOARD
default n
+config PC_KEYBOARD_TRANSLATION
+ bool "Enable or Disable translation in PC keyboard set 2 on exit"
+ depends on PC_KEYBOARD
+ default y
+
endmenu
menu "Drivers"