summaryrefslogtreecommitdiff
path: root/arch/arm
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-09-12 23:18:57 -0600
committerTom Rini <trini@konsulko.com>2016-09-16 17:27:20 -0400
commite404ade42d72513ea51d66b9474bcce194bab848 (patch)
tree8adb49365162910b1eb47431004b21a58c3321fc /arch/arm
parente00f76cee906a48311d0c7c59b519b2e6a5c56f8 (diff)
Convert CONFIG_SPL_SPI_FLASH_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/arm')
-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 f37097095b..6ad04cb25e 100644
--- a/arch/arm/cpu/armv8/zynqmp/Kconfig
+++ b/arch/arm/cpu/armv8/zynqmp/Kconfig
@@ -18,6 +18,9 @@ config SPL_MMC_SUPPORT
config SPL_SERIAL_SUPPORT
default y
+config SPL_SPI_FLASH_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 1c10ffb69b..5be9eaa456 100644
--- a/arch/arm/mach-socfpga/Kconfig
+++ b/arch/arm/mach-socfpga/Kconfig
@@ -18,6 +18,9 @@ config SPL_NAND_SUPPORT
config SPL_SERIAL_SUPPORT
default y
+config SPL_SPI_FLASH_SUPPORT
+ default y if DM_SPI
+
config TARGET_SOCFPGA_ARRIA5
bool
select TARGET_SOCFPGA_GEN5
diff --git a/arch/arm/mach-zynq/Kconfig b/arch/arm/mach-zynq/Kconfig
index e948551fa6..92e93524e6 100644
--- a/arch/arm/mach-zynq/Kconfig
+++ b/arch/arm/mach-zynq/Kconfig
@@ -18,6 +18,9 @@ config SPL_MMC_SUPPORT
config SPL_SERIAL_SUPPORT
default y
+config SPL_SPI_FLASH_SUPPORT
+ default y if ZYNQ_QSPI
+
config SYS_BOARD
default "zynq"