summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2015-04-27 23:22:27 +0800
committerSimon Glass <sjg@chromium.org>2015-04-29 18:51:50 -0600
commit3e4522279df299d1eef1bf9409f313bd8c5716ff (patch)
tree0fa72197c21224f3b5d511c3d9d6332543f7b215 /arch
parentd99b901e74ab96ef5b9e130a0607b85db0e33139 (diff)
downloadu-boot-imx-3e4522279df299d1eef1bf9409f313bd8c5716ff.zip
u-boot-imx-3e4522279df299d1eef1bf9409f313bd8c5716ff.tar.gz
u-boot-imx-3e4522279df299d1eef1bf9409f313bd8c5716ff.tar.bz2
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>
Diffstat (limited to 'arch')
-rw-r--r--arch/Kconfig2
-rw-r--r--arch/x86/Kconfig6
2 files changed, 2 insertions, 6 deletions
diff --git a/arch/Kconfig b/arch/Kconfig
index 1102346..200588a 100644
--- a/arch/Kconfig
+++ b/arch/Kconfig
@@ -93,6 +93,8 @@ config X86
select DM
select DM_SERIAL
select DM_GPIO
+ select DM_SPI
+ select DM_SPI_FLASH
endchoice
diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig
index 2387fb7..f3a600e 100644
--- a/arch/x86/Kconfig
+++ b/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