]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
input: specify the default of I8042_KEYB in more correct manner
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 8 Sep 2016 09:47:36 +0000 (18:47 +0900)
committerTom Rini <trini@konsulko.com>
Sun, 2 Oct 2016 00:04:35 +0000 (20:04 -0400)
Creating multiple entries of "config FOO" often gives us bad
experiences.  In this case, we should specify "default X86"
as platforms that want this keyboard by default.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Acked-by: Marek Vasut <marex@denx.de>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/x86/Kconfig
drivers/input/Kconfig

index 9207549401b26daef7ddca2db960dbdcde8ab45e..ac2d598d6635a9d1164e92c0ca4afc756ed3307f 100644 (file)
@@ -546,9 +546,6 @@ config I8254_TIMER
          Intel 8254 timer contains three counters which have fixed uses.
          Include this to have U-Boot set up the timer correctly.
 
-config I8042_KEYB
-       default y
-
 config SEABIOS
        bool "Support booting SeaBIOS"
        help
index d560328be025acf827234dd34b59942227a20a2f..b3873c140d054a680d1bb3d39f8f09a5d3ff4fb6 100644 (file)
@@ -17,6 +17,7 @@ config CROS_EC_KEYB
 config I8042_KEYB
        bool "Enable Intel i8042 keyboard support"
        depends on DM_KEYBOARD
+       default X86
        help
          This adds a driver for the i8042 keyboard controller, allowing the
          keyboard to be used on devices which support this controller. The