spi: Migrate CONFIG_LPC32XX_SSP to Kconfig
authorTuomas Tynkkynen <tuomas@tuxera.com>
Wed, 7 Feb 2018 00:42:21 +0000 (02:42 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 14 Feb 2018 04:01:44 +0000 (23:01 -0500)
Signed-off-by: Tuomas Tynkkynen <tuomas@tuxera.com>
configs/devkit3250_defconfig
configs/work_92105_defconfig
drivers/spi/Kconfig
include/configs/devkit3250.h
include/configs/work_92105.h
scripts/config_whitelist.txt

index 0b9223f37aa3bfe0841f044f000a5d5406d3fdf8..fcc80b2027bf823a920c8a267d5b2b5ba7d6c8b6 100644 (file)
@@ -38,6 +38,7 @@ CONFIG_SPL_NAND_SIMPLE=y
 CONFIG_PHYLIB=y
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
+CONFIG_LPC32XX_SSP=y
 CONFIG_USB=y
 CONFIG_USB_STORAGE=y
 CONFIG_OF_LIBFDT=y
index fb287bdeac8d921c0fbe3a8536dddc533a743b33..2451b56135a35edef65cc3fc65034eeb9c63a3f2 100644 (file)
@@ -37,3 +37,4 @@ CONFIG_DM_GPIO=y
 CONFIG_PHYLIB=y
 CONFIG_DM_SERIAL=y
 CONFIG_SYS_NS16550=y
+CONFIG_LPC32XX_SSP=y
index a16faa6dfb5ea035109a730e473401c927d240bb..79cd54e10cb08a91d7a2ed61c05f13460a7f4989 100644 (file)
@@ -257,6 +257,11 @@ config TI_QSPI
          Enable the TI Quad-SPI (QSPI) driver for DRA7xx and AM43xx evms.
          This driver support spi flash single, quad and memory reads.
 
+config LPC32XX_SSP
+       bool "LPC32XX SPI Driver"
+       help
+         Enable support for SPI on LPC32xx
+
 config MPC8XX_SPI
        bool "MPC8XX SPI Driver"
        depends on 8xx
index 71ca127f3f62747ea2edf4d26819c47b65856d23..31fad7d8868fa3ce3235383c890585b9c89af5d4 100644 (file)
@@ -63,7 +63,6 @@
 /*
  * SSP/SPI
  */
-#define CONFIG_LPC32XX_SSP
 #define CONFIG_LPC32XX_SSP_TIMEOUT     100000
 
 /*
index efb8901af6267dc2b01aa46d225d11cae538ef1e..cb77d1862c531aa3862b4aa46e3eaf8183cdc589 100644 (file)
  * SSP/SPI/DISPLAY
  */
 
-#define CONFIG_LPC32XX_SSP
 #define CONFIG_LPC32XX_SSP_TIMEOUT 100000
 /*
  * Environment
index b340fc12d96f95cb807cf9ac5a9d7f22f4932db9..53583962cf7d2c7239c0ba9429e3e754d4f88587 100644 (file)
@@ -1249,7 +1249,6 @@ CONFIG_LPC32XX_NAND_SLC_WSETUP
 CONFIG_LPC32XX_NAND_SLC_WWIDTH
 CONFIG_LPC32XX_SDRAM_
 CONFIG_LPC32XX_SPL
-CONFIG_LPC32XX_SSP
 CONFIG_LPC32XX_SSP_TIMEOUT
 CONFIG_LPC_BASE
 CONFIG_LPC_IO_BASE