spi: Migrate CONFIG_MXS_SPI to Kconfig
authorTuomas Tynkkynen <tuomas@tuxera.com>
Wed, 7 Feb 2018 00:42:18 +0000 (02:42 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Feb 2018 04:00:53 +0000 (23:00 -0500)
Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
configs/bg0900_defconfig
configs/m28evk_defconfig
configs/mx28evk_auart_console_defconfig
configs/mx28evk_defconfig
configs/mx28evk_nand_defconfig
configs/mx28evk_spi_defconfig
drivers/spi/Kconfig
include/configs/mxs.h
scripts/config_whitelist.txt

index e097f1c131924e5fdd6578a21be3b6b6e630d86c..20c8febf311929c4ff2a4dad53311b2b0660d269 100644 (file)
@@ -32,4 +32,5 @@ CONFIG_NAND_MXS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_BAR=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_MXS_SPI=y
 CONFIG_OF_LIBFDT=y
index be0c6814d8c75bb746354ce5386f708867237e0a..373519d57ec133411cd8e3741ac5a54a8950efab 100644 (file)
@@ -46,6 +46,7 @@ CONFIG_NAND=y
 CONFIG_NAND_MXS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_STMICRO=y
+CONFIG_MXS_SPI=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
index a3590bb2c219047a09dc87fbf1394139f4ca5090..e9f6ff4e166e60ca6b0bb51ac6b439a615bcf7e3 100644 (file)
@@ -41,6 +41,7 @@ CONFIG_NAND=y
 CONFIG_NAND_MXS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SST=y
+CONFIG_MXS_SPI=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
index 5d661ee13d72132f3147e75a2b30b9ec2235ff2f..b57bee65c7fe235d3039e556230727ec9649cd8c 100644 (file)
@@ -41,6 +41,7 @@ CONFIG_NAND=y
 CONFIG_NAND_MXS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SST=y
+CONFIG_MXS_SPI=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
index 3b9962f3b3ff7792cf3e2ecd1b31e4874f40b5e6..8d8bafad002269854f4b5449edad8ee53043ebf9 100644 (file)
@@ -40,6 +40,7 @@ CONFIG_NAND=y
 CONFIG_NAND_MXS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SST=y
+CONFIG_MXS_SPI=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
index fee7f216f626ca5b8e9ac30db63a2d4ec839aa48..8959035edb6d0aa9151fb39ff9d239b10cfe1704 100644 (file)
@@ -40,6 +40,7 @@ CONFIG_NAND=y
 CONFIG_NAND_MXS=y
 CONFIG_SPI_FLASH=y
 CONFIG_SPI_FLASH_SST=y
+CONFIG_MXS_SPI=y
 CONFIG_USB=y
 CONFIG_USB_EHCI_HCD=y
 CONFIG_USB_STORAGE=y
index a1f9373af151ff6f8cd5a4b7ff14a72ae341cb3f..686105c0e27bf39163b02a2706e07eb2a368488a 100644 (file)
@@ -263,6 +263,12 @@ config MPC8XX_SPI
        help
          Enable support for SPI on MPC8XX
 
+config MXS_SPI
+       bool "MXS SPI Driver"
+       help
+         Enable the MXS SPI controller driver. This driver can be used
+         on the i.MX23 and i.MX28 SoCs.
+
 config OMAP3_SPI
        bool "McSPI driver for OMAP"
        help
index 0bc3d499ba6d660438a24aa57e386d5245a14c81..31877b8ec103d3de90b4cb763deadfc2bc3f962b 100644 (file)
 /* SPI */
 #ifdef CONFIG_CMD_SPI
 #define CONFIG_HARD_SPI
-#define CONFIG_MXS_SPI
 #define CONFIG_SPI_HALF_DUPLEX
 #endif
 
index c428712c012eeadc16838fbe5b50ec1a0ac2c976..275c20b39e0ab1e519b3e9f99e8d0dec4c044f30 100644 (file)
@@ -1437,7 +1437,6 @@ CONFIG_MXS_AUART
 CONFIG_MXS_AUART_BASE
 CONFIG_MXS_GPIO
 CONFIG_MXS_OCOTP
-CONFIG_MXS_SPI
 CONFIG_MX_CYCLIC
 CONFIG_MY_OPTION
 CONFIG_NANDFLASH_SIZE