summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-09-08 18:47:36 +0900
committerTom Rini <trini@konsulko.com>2016-10-01 20:04:35 -0400
commitb98278be7bd64f8726b388416947118f65077b2b (patch)
tree1e42301cc8dc051714f25e9d368eae2ebcbdf013
parent558e12571e3cc949837ab0c232a1bb528a8f95da (diff)
downloadu-boot-b98278be7bd64f8726b388416947118f65077b2b.tar.gz
u-boot-b98278be7bd64f8726b388416947118f65077b2b.tar.bz2
u-boot-b98278be7bd64f8726b388416947118f65077b2b.zip
input: specify the default of I8042_KEYB in more correct manner
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>
-rw-r--r--arch/x86/Kconfig3
-rw-r--r--drivers/input/Kconfig1
2 files changed, 1 insertions, 3 deletions
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 9207549401..ac2d598d66 100644
--- a/arch/x86/Kconfig
+++ b/arch/x86/Kconfig
@@ -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
diff --git a/drivers/input/Kconfig b/drivers/input/Kconfig
index d560328be0..b3873c140d 100644
--- a/drivers/input/Kconfig
+++ b/drivers/input/Kconfig
@@ -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