From: Tuomas Tynkkynen Date: Wed, 7 Feb 2018 00:42:18 +0000 (+0200) Subject: spi: Migrate CONFIG_MXS_SPI to Kconfig X-Git-Tag: v2018.03-rc3~43 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7b819b569e92fd9b9b1baf160cd946a523fde1ce;p=u-boot spi: Migrate CONFIG_MXS_SPI to Kconfig Signed-off-by: Tuomas Tynkkynen --- diff --git a/configs/bg0900_defconfig b/configs/bg0900_defconfig index e097f1c131..20c8febf31 100644 --- a/configs/bg0900_defconfig +++ b/configs/bg0900_defconfig @@ -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 diff --git a/configs/m28evk_defconfig b/configs/m28evk_defconfig index be0c6814d8..373519d57e 100644 --- a/configs/m28evk_defconfig +++ b/configs/m28evk_defconfig @@ -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 diff --git a/configs/mx28evk_auart_console_defconfig b/configs/mx28evk_auart_console_defconfig index a3590bb2c2..e9f6ff4e16 100644 --- a/configs/mx28evk_auart_console_defconfig +++ b/configs/mx28evk_auart_console_defconfig @@ -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 diff --git a/configs/mx28evk_defconfig b/configs/mx28evk_defconfig index 5d661ee13d..b57bee65c7 100644 --- a/configs/mx28evk_defconfig +++ b/configs/mx28evk_defconfig @@ -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 diff --git a/configs/mx28evk_nand_defconfig b/configs/mx28evk_nand_defconfig index 3b9962f3b3..8d8bafad00 100644 --- a/configs/mx28evk_nand_defconfig +++ b/configs/mx28evk_nand_defconfig @@ -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 diff --git a/configs/mx28evk_spi_defconfig b/configs/mx28evk_spi_defconfig index fee7f216f6..8959035edb 100644 --- a/configs/mx28evk_spi_defconfig +++ b/configs/mx28evk_spi_defconfig @@ -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 diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig index a1f9373af1..686105c0e2 100644 --- a/drivers/spi/Kconfig +++ b/drivers/spi/Kconfig @@ -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 diff --git a/include/configs/mxs.h b/include/configs/mxs.h index 0bc3d499ba..31877b8ec1 100644 --- a/include/configs/mxs.h +++ b/include/configs/mxs.h @@ -147,7 +147,6 @@ /* SPI */ #ifdef CONFIG_CMD_SPI #define CONFIG_HARD_SPI -#define CONFIG_MXS_SPI #define CONFIG_SPI_HALF_DUPLEX #endif diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index c428712c01..275c20b39e 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -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