From e404ade42d72513ea51d66b9474bcce194bab848 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 12 Sep 2016 23:18:57 -0600 Subject: Convert CONFIG_SPL_SPI_FLASH_SUPPORT to Kconfig Move this option to Kconfig and tidy up existing uses. Signed-off-by: Simon Glass --- arch/arm/cpu/armv8/zynqmp/Kconfig | 3 +++ arch/arm/mach-socfpga/Kconfig | 3 +++ arch/arm/mach-zynq/Kconfig | 3 +++ 3 files changed, 9 insertions(+) (limited to 'arch/arm') 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" -- cgit