sandbox, x86: select DM_KEYBOARD instead of default y entry

Once we migrate to DM-based drivers, we cannot go back to legacy
ones, i.e. config options like DM_* are not user-configurable.

Make SANDBOX and X86 select DM_KEYBOARD like other platforms do.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
master
Masahiro Yamada 9 years ago committed by Tom Rini
parent 45b047e557
commit 558e12571e
  1. 2
      arch/Kconfig
  2. 3
      arch/sandbox/Kconfig
  3. 3
      arch/x86/Kconfig

@ -62,6 +62,7 @@ config SANDBOX
bool "Sandbox" bool "Sandbox"
select SUPPORT_OF_CONTROL select SUPPORT_OF_CONTROL
select DM select DM
select DM_KEYBOARD
select DM_SPI_FLASH select DM_SPI_FLASH
select DM_SERIAL select DM_SERIAL
select DM_I2C select DM_I2C
@ -83,6 +84,7 @@ config X86
select HAVE_PRIVATE_LIBGCC select HAVE_PRIVATE_LIBGCC
select SUPPORT_OF_CONTROL select SUPPORT_OF_CONTROL
select DM select DM
select DM_KEYBOARD
select DM_SERIAL select DM_SERIAL
select DM_GPIO select DM_GPIO
select DM_SPI select DM_SPI

@ -25,7 +25,4 @@ config PCI
used on some devices to allow the CPU to communicate with its used on some devices to allow the CPU to communicate with its
peripherals. peripherals.
config DM_KEYBOARD
default y
endmenu endmenu

@ -549,9 +549,6 @@ config I8254_TIMER
config I8042_KEYB config I8042_KEYB
default y default y
config DM_KEYBOARD
default y
config SEABIOS config SEABIOS
bool "Support booting SeaBIOS" bool "Support booting SeaBIOS"
help help

Loading…
Cancel
Save