]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
usb: USB keyboard requires DM_KEYBOARD
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Sun, 28 Feb 2021 11:50:49 +0000 (12:50 +0100)
committerMarek Vasut <marex@denx.de>
Wed, 3 Mar 2021 03:12:46 +0000 (04:12 +0100)
If CONFIG_DM_USB=y, the USB keyboard only works if CONFIG_DM_KEYBOARD=y.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
drivers/usb/Kconfig

index 6e291198abe4b4457ac45a54c529f188e88dbfc1..f6975730bf8d323a135d2595fc00a882501888d8 100644 (file)
@@ -95,6 +95,7 @@ config USB_STORAGE
 
 config USB_KEYBOARD
        bool "USB Keyboard support"
+       select DM_KEYBOARD if DM_USB
        select SYS_STDIO_DEREGISTER
        ---help---
          Say Y here if you want to use a USB keyboard for U-Boot command line