diff options
author | Simon Glass <sjg@chromium.org> | 2016-09-12 23:18:58 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-09-16 17:27:21 -0400 |
commit | f35ed9edf3b92158925c466d04f8fc6986207089 (patch) | |
tree | a6a1897d7429c649c36cc6fa0f2fd38a0673a4b7 /arch | |
parent | e404ade42d72513ea51d66b9474bcce194bab848 (diff) | |
download | u-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/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/mach-socfpga/Kconfig | 3 | ||||
-rw-r--r-- | arch/arm/mach-zynq/Kconfig | 3 |
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" |