sandbox, x86: select DM_KEYBOARD instead of default y entry
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Thu, 8 Sep 2016 09:47:35 +0000 (18:47 +0900)
committerTom Rini <trini@konsulko.com>
Sun, 2 Oct 2016 00:04:33 +0000 (20:04 -0400)
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>
arch/Kconfig
arch/sandbox/Kconfig
arch/x86/Kconfig

index d718a68..ffc7b45 100644 (file)
@@ -62,6 +62,7 @@ config SANDBOX
        bool "Sandbox"
        select SUPPORT_OF_CONTROL
        select DM
+       select DM_KEYBOARD
        select DM_SPI_FLASH
        select DM_SERIAL
        select DM_I2C
@@ -83,6 +84,7 @@ config X86
        select HAVE_PRIVATE_LIBGCC
        select SUPPORT_OF_CONTROL
        select DM
+       select DM_KEYBOARD
        select DM_SERIAL
        select DM_GPIO
        select DM_SPI
index d4c1ee0..c931c0b 100644 (file)
@@ -25,7 +25,4 @@ config PCI
          used on some devices to allow the CPU to communicate with its
          peripherals.
 
-config DM_KEYBOARD
-       default y
-
 endmenu
index 5193ee7..9207549 100644 (file)
@@ -549,9 +549,6 @@ config I8254_TIMER
 config I8042_KEYB
        default y
 
-config DM_KEYBOARD
-       default y
-
 config SEABIOS
        bool "Support booting SeaBIOS"
        help