소스 검색

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>
Masahiro Yamada 8 년 전
부모
커밋
b98278be7b
2개의 변경된 파일1개의 추가작업 그리고 3개의 파일을 삭제
  1. 0 3
      arch/x86/Kconfig
  2. 1 0
      drivers/input/Kconfig

+ 0 - 3
arch/x86/Kconfig

@@ -546,9 +546,6 @@ config I8254_TIMER
 	  Intel 8254 timer contains three counters which have fixed uses.
 	  Intel 8254 timer contains three counters which have fixed uses.
 	  Include this to have U-Boot set up the timer correctly.
 	  Include this to have U-Boot set up the timer correctly.
 
 
-config I8042_KEYB
-	default y
-
 config SEABIOS
 config SEABIOS
 	bool "Support booting SeaBIOS"
 	bool "Support booting SeaBIOS"
 	help
 	help

+ 1 - 0
drivers/input/Kconfig

@@ -17,6 +17,7 @@ config CROS_EC_KEYB
 config I8042_KEYB
 config I8042_KEYB
 	bool "Enable Intel i8042 keyboard support"
 	bool "Enable Intel i8042 keyboard support"
 	depends on DM_KEYBOARD
 	depends on DM_KEYBOARD
+	default X86
 	help
 	help
 	  This adds a driver for the i8042 keyboard controller, allowing the
 	  This adds a driver for the i8042 keyboard controller, allowing the
 	  keyboard to be used on devices which support this controller. The
 	  keyboard to be used on devices which support this controller. The