[Concept,07/17] x86: efi: Disable i8042 in the x86 app

Message ID 20251006232236.2091941-8-sjg@u-boot.org
State New
Headers
Series expo: Complete mouse operation in the EFI app |

Commit Message

Simon Glass Oct. 6, 2025, 11:21 p.m. UTC
  From: Simon Glass <sjg@chromium.org>

We should not try to directly access the keyboard when running as an EFI
app. Disable CONFIG_I8042_KEYB option to prevent that.

Signed-off-by: Simon Glass <sjg@chromium.org>
---

 drivers/input/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index 6e19f6f7b3d..34eec07aac7 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -96,7 +96,7 @@  config TPL_CROS_EC_KEYB
 config I8042_KEYB
 	bool "Enable Intel i8042 keyboard support"
 	depends on DM_KEYBOARD
-	default X86
+	default X86 && !EFI_APP
 	help
 	  This adds a driver for the i8042 keyboard controller, allowing the
 	  keyboard to be used on devices which support this controller. The