spi: Kconfig: Move MSCC_BB_SPI, FSL_QSPI into DM_SPI
authorJagan Teki <jagan@amarulasolutions.com>
Mon, 25 May 2020 18:54:19 +0000 (00:24 +0530)
committerJagan Teki <jagan@amarulasolutions.com>
Mon, 1 Jun 2020 12:25:24 +0000 (17:55 +0530)
- MSCC_BB_SPI
- FSL_QSPI

Both are fully dm-driven, let's move them into DM_SPI
side definition.

Signed-off-by: Jagan Teki <jagan@amarulasolutions.com>
drivers/spi/Kconfig

index e39d50d568d8ffd0450372430efebc2ec5a63398..f8b1d154dabdacb36e78dd3cd216f2a2638247da 100644 (file)
@@ -141,6 +141,14 @@ config FSL_DSPI
          this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms
          use this driver.
 
          this Freescale DSPI IP core. LS102xA and Colibri VF50/VF61 platforms
          use this driver.
 
+config FSL_QSPI
+       bool "Freescale QSPI driver"
+       imply SPI_FLASH_BAR
+       help
+         Enable the Freescale Quad-SPI (QSPI) driver. This driver can be
+         used to access the SPI NOR flash on platforms embedding this
+         Freescale IP core.
+
 config ICH_SPI
        bool "Intel ICH SPI driver"
        help
 config ICH_SPI
        bool "Intel ICH SPI driver"
        help
@@ -167,6 +175,13 @@ config MPC8XXX_SPI
        help
          Enable support for SPI on the MPC8XXX PowerPC SoCs.
 
        help
          Enable support for SPI on the MPC8XXX PowerPC SoCs.
 
+config MSCC_BB_SPI
+       bool "MSCC bitbang SPI driver"
+       depends on SOC_VCOREIII
+       help
+         Enable MSCC bitbang SPI driver. This driver can be used on
+         MSCC SOCs.
+
 config MT7621_SPI
        bool "MediaTek MT7621 SPI driver"
        depends on SOC_MT7628
 config MT7621_SPI
        bool "MediaTek MT7621 SPI driver"
        depends on SOC_MT7628
@@ -377,13 +392,6 @@ config SOFT_SPI
         Enable Soft SPI driver. This driver is to use GPIO simulate
         the SPI protocol.
 
         Enable Soft SPI driver. This driver is to use GPIO simulate
         the SPI protocol.
 
-config MSCC_BB_SPI
-       bool "MSCC bitbang SPI driver"
-       depends on SOC_VCOREIII
-       help
-         Enable MSCC bitbang SPI driver. This driver can be used on
-         MSCC SOCs.
-
 config FSL_ESPI
        bool "Freescale eSPI driver"
        imply SPI_FLASH_BAR
 config FSL_ESPI
        bool "Freescale eSPI driver"
        imply SPI_FLASH_BAR
@@ -392,14 +400,6 @@ config FSL_ESPI
          access the SPI interface and SPI NOR flash on platforms embedding
          this Freescale eSPI IP core.
 
          access the SPI interface and SPI NOR flash on platforms embedding
          this Freescale eSPI IP core.
 
-config FSL_QSPI
-       bool "Freescale QSPI driver"
-       imply SPI_FLASH_BAR
-       help
-         Enable the Freescale Quad-SPI (QSPI) driver. This driver can be
-         used to access the SPI NOR flash on platforms embedding this
-         Freescale IP core.
-
 config DAVINCI_SPI
        bool "Davinci & Keystone SPI driver"
        depends on ARCH_DAVINCI || ARCH_KEYSTONE
 config DAVINCI_SPI
        bool "Davinci & Keystone SPI driver"
        depends on ARCH_DAVINCI || ARCH_KEYSTONE