summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--configs/devkit3250_defconfig1
-rw-r--r--configs/work_92105_defconfig1
-rw-r--r--drivers/spi/Kconfig5
-rw-r--r--include/configs/devkit3250.h1
-rw-r--r--include/configs/work_92105.h1
-rw-r--r--scripts/config_whitelist.txt1
6 files changed, 7 insertions, 3 deletions
diff --git a/configs/devkit3250_defconfig b/configs/devkit3250_defconfig
index 0b9223f37a..fcc80b2027 100644
--- a/configs/devkit3250_defconfig
+++ b/configs/devkit3250_defconfig
@@ -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
diff --git a/configs/work_92105_defconfig b/configs/work_92105_defconfig
index fb287bdeac..2451b56135 100644
--- a/configs/work_92105_defconfig
+++ b/configs/work_92105_defconfig
@@ -37,3 +37,4 @@ CONFIG_DM_GPIO=y
CONFIG_PHYLIB=y
CONFIG_DM_SERIAL=y
CONFIG_SYS_NS16550=y
+CONFIG_LPC32XX_SSP=y
diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig
index a16faa6dfb..79cd54e10c 100644
--- a/drivers/spi/Kconfig
+++ b/drivers/spi/Kconfig
@@ -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
diff --git a/include/configs/devkit3250.h b/include/configs/devkit3250.h
index 71ca127f3f..31fad7d886 100644
--- a/include/configs/devkit3250.h
+++ b/include/configs/devkit3250.h
@@ -63,7 +63,6 @@
/*
* SSP/SPI
*/
-#define CONFIG_LPC32XX_SSP
#define CONFIG_LPC32XX_SSP_TIMEOUT 100000
/*
diff --git a/include/configs/work_92105.h b/include/configs/work_92105.h
index efb8901af6..cb77d1862c 100644
--- a/include/configs/work_92105.h
+++ b/include/configs/work_92105.h
@@ -124,7 +124,6 @@
* SSP/SPI/DISPLAY
*/
-#define CONFIG_LPC32XX_SSP
#define CONFIG_LPC32XX_SSP_TIMEOUT 100000
/*
* Environment
diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt
index b340fc12d9..53583962cf 100644
--- a/scripts/config_whitelist.txt
+++ b/scripts/config_whitelist.txt
@@ -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