summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-12 23:18:58 -0600
committerTom Rini <trini@konsulko.com>2016-09-16 17:27:21 -0400
commitf35ed9edf3b92158925c466d04f8fc6986207089 (patch)
treea6a1897d7429c649c36cc6fa0f2fd38a0673a4b7 /arch
parente404ade42d72513ea51d66b9474bcce194bab848 (diff)
downloadu-boot-f35ed9edf3b92158925c466d04f8fc6986207089.tar.gz
u-boot-f35ed9edf3b92158925c466d04f8fc6986207089.tar.xz
u-boot-f35ed9edf3b92158925c466d04f8fc6986207089.zip
Convert CONFIG_SPL_SPI_SUPPORT to Kconfig
Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'arch')
-rw-r--r--arch/arm/cpu/armv8/zynqmp/Kconfig3
-rw-r--r--arch/arm/mach-socfpga/Kconfig3
-rw-r--r--arch/arm/mach-zynq/Kconfig3
3 files changed, 9 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv8/zynqmp/Kconfig b/arch/arm/cpu/armv8/zynqmp/Kconfig
index 6ad04cb25e..e7039919c7 100644
--- a/arch/arm/cpu/armv8/zynqmp/Kconfig
+++ b/arch/arm/cpu/armv8/zynqmp/Kconfig
@@ -21,6 +21,9 @@ config SPL_SERIAL_SUPPORT
config SPL_SPI_FLASH_SUPPORT
default y if ZYNQ_QSPI
+config SPL_SPI_SUPPORT
+ default y if ZYNQ_QSPI
+
config SYS_BOARD
default "zynqmp"
diff --git a/arch/arm/mach-socfpga/Kconfig b/arch/arm/mach-socfpga/Kconfig
index 5be9eaa456..964824b4e1 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -19,6 +19,9 @@ config SPL_SERIAL_SUPPORT
default y
config SPL_SPI_FLASH_SUPPORT
+ default y if SPL_SPI_SUPPORT
+
+config SPL_SPI_SUPPORT
default y if DM_SPI
config TARGET_SOCFPGA_ARRIA5
diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
index 92e93524e6..a1175eea6e 100644
--- a/arch/arm/mach-zynq/Kconfig
+++ b/arch/arm/mach-zynq/Kconfig
@@ -21,6 +21,9 @@ config SPL_SERIAL_SUPPORT
config SPL_SPI_FLASH_SUPPORT
default y if ZYNQ_QSPI
+config SPL_SPI_SUPPORT
+ default y if ZYNQ_QSPI
+
config SYS_BOARD
default "zynq"