Browse Source

x86: Kconfig: Move DM_SPI & DM_SPI_FLASH to arch/Kconfig

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>
Bin Meng 10 years ago
parent
commit
3e4522279d
2 changed files with 2 additions and 6 deletions
  1. 2 0
      arch/Kconfig
  2. 0 6
      arch/x86/Kconfig

+ 2 - 0
arch/Kconfig

@@ -93,6 +93,8 @@ config X86
 	select DM
 	select DM_SERIAL
 	select DM_GPIO
+	select DM_SPI
+	select DM_SPI_FLASH
 
 endchoice
 

+ 0 - 6
arch/x86/Kconfig

@@ -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