]> git.sur5r.net Git - u-boot/commitdiff
x86: Kconfig: Move DM_SPI & DM_SPI_FLASH to arch/Kconfig
authorBin Meng <bmeng.cn@gmail.com>
Mon, 27 Apr 2015 15:22:27 +0000 (23:22 +0800)
committerSimon Glass <sjg@chromium.org>
Thu, 30 Apr 2015 00:51:50 +0000 (18:51 -0600)
Since all x86 boards have been converted to use DM_SPI and
DM_SPI_FLASH, move them to arch/Kconfig x86 section.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Simon Glass <sjg@chromium.org>
arch/Kconfig
arch/x86/Kconfig

index 1102346220086a8245ea3786fc44d29fdf58930a..200588aef6dad8ba16a919d3c4ce3835430fb94a 100644 (file)
@@ -93,6 +93,8 @@ config X86
        select DM
        select DM_SERIAL
        select DM_GPIO
+       select DM_SPI
+       select DM_SPI_FLASH
 
 endchoice
 
index 2387fb76748ae40884b9971c56c2bbeb7659a95e..f3a600e80e5abd86faaea3ef67e771068df34a21 100644 (file)
@@ -39,12 +39,6 @@ source "arch/x86/cpu/queensbay/Kconfig"
 
 # architecture-specific options below
 
-config DM_SPI
-       default y
-
-config DM_SPI_FLASH
-       default y
-
 config SYS_MALLOC_F_LEN
        default 0x800