]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
OMAP3_SPI: Kconfig: move OMAP3_SPI out of DM_SPI section.
authorAdam Ford <aford173@gmail.com>
Thu, 27 Jul 2017 03:25:29 +0000 (22:25 -0500)
committerTom Rini <trini@konsulko.com>
Sat, 12 Aug 2017 23:17:20 +0000 (19:17 -0400)
The OMAP3_SPI driver can work with or without DM_SPI.  Moving this
outside of the #if DM_SPI section allows us to include it on boards
that don't support DM_SPI yet.

Signed-off-by: Adam Ford <aford173@gmail.com>
drivers/spi/Kconfig

index 8a8e8e480f548b2277547e6157859793ff313082..3c5582a9504c8e079c24c14e86da4b7a940afdc7 100644 (file)
@@ -188,13 +188,6 @@ config ZYNQ_QSPI
          Zynq QSPI IP core. This IP is used to connect the flash in
          4-bit qspi, 8-bit dual stacked and shared 4-bit dual parallel.
 
-config OMAP3_SPI
-       bool "McSPI driver for OMAP"
-       help
-         SPI master controller for OMAP24XX and later Multichannel SPI
-         (McSPI). This driver be used to access SPI chips on platforms
-         embedding this OMAP3 McSPI IP core.
-
 endif # if DM_SPI
 
 config SOFT_SPI
@@ -229,4 +222,11 @@ config MPC8XX_SPI
        help
          Enable support for SPI on MPC8XX
 
+config OMAP3_SPI
+       bool "McSPI driver for OMAP"
+       help
+         SPI master controller for OMAP24XX and later Multichannel SPI
+         (McSPI). This driver be used to access SPI chips on platforms
+         embedding this OMAP3 McSPI IP core.
+
 endmenu # menu "SPI Support"