Skip to contentSkip to conversation

Convert CONFIG_NAND_LPC32XX_SLC to Kconfig

PATCH In review Adam Ford 2 participants 2 messages Jul 8, 2018 – Jul 23, 2018

Subsystems (2)
lore
Share & tools
lore

Adam Ford

author
#0 lore raw

PATCH 1/1 Convert CONFIG_NAND_LPC32XX_SLC to Kconfig

This converts the following to Kconfig:
CONFIG_NAND_LPC32XX_SLC

configs/devkit3250_defconfig +1 -0
index 14c24ce6f2..8a37122104 100644
@@ -34,6 +34,7 @@ CONFIG_DM_GPIO=y
 # CONFIG_MMC is not set
 CONFIG_MTD_NOR_FLASH=y
 CONFIG_NAND=y
+CONFIG_NAND_LPC32XX_SLC=y
 CONFIG_SPL_NAND_SIMPLE=y
 CONFIG_PHYLIB=y
 CONFIG_PHY_ADDR_ENABLE=y
drivers/mtd/nand/Kconfig +5 -0
index 420a220c81..2915d59f4c 100644
@@ -37,6 +37,11 @@ config NAND_DENALI_SPARE_AREA_SKIP_BYTES
 	  of OOB area before last ECC sector data starts.  This is potentially
 	  used to preserve the bad block marker in the OOB area.
 
+config NAND_LPC32XX_SLC
+	bool "Support LPC32XX_SLC controller"
+	help
+	  Enable the LPC32XX SLC NAND controller.
+	
 config NAND_OMAP_GPMC
 	bool "Support OMAP GPMC NAND controller"
 	depends on ARCH_OMAP2PLUS
include/configs/devkit3250.h +0 -1
index d12f37150b..00e9c44fdf 100644
@@ -84,7 +84,6 @@
 /*
  * NAND controller
  */
-#define CONFIG_NAND_LPC32XX_SLC
 #define CONFIG_SYS_NAND_BASE		SLC_NAND_BASE
 #define CONFIG_SYS_MAX_NAND_DEVICE	1
 #define CONFIG_SYS_NAND_BASE_LIST	{ CONFIG_SYS_NAND_BASE }
scripts/config_whitelist.txt +0 -1
index 42dc722251..baecbbbfa3 100644
@@ -1381,7 +1381,6 @@ CONFIG_NAND_FSMC
 CONFIG_NAND_KIRKWOOD
 CONFIG_NAND_KMETER1
 CONFIG_NAND_LPC32XX_MLC
-CONFIG_NAND_LPC32XX_SLC
 CONFIG_NAND_MODE_REG
 CONFIG_NAND_MXC_V1_1
 CONFIG_NAND_OMAP_ECCSCHEME
Signature · 1 line
2.17.1
#1 lore raw

configs/devkit3250_defconfig

Quoted 7 lines · Adam Ford

This converts the following to Kconfig:
CONFIG_NAND_LPC32XX_SLC

configs/devkit3250_defconfig +0 -0
index 14c24ce6f2..8a37122104 100644

Applied to u-boot/master, thanks!

Signature · 8 lines
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180723/952ecaaf/attachment.sig>