]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_NAND_LPC32XX_SLC to Kconfig
authorAdam Ford <aford173@gmail.com>
Sun, 8 Jul 2018 11:18:48 +0000 (06:18 -0500)
committerTom Rini <trini@konsulko.com>
Sun, 22 Jul 2018 02:26:25 +0000 (22:26 -0400)
This converts the following to Kconfig:
   CONFIG_NAND_LPC32XX_SLC

Signed-off-by: Adam Ford <aford173@gmail.com>
configs/devkit3250_defconfig
drivers/mtd/nand/Kconfig
include/configs/devkit3250.h
scripts/config_whitelist.txt

index 14c24ce6f2b41dbf7ed70e79b49907165ea52bc6..8a37122104ccd18cb468e48f23b3d1adf3da6013 100644 (file)
@@ -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
index bdc272142e5f714618b9c24890b0f13bbb3ca849..dad571147037e9a5623d6fe83464a4e91ea35bf3 100644 (file)
@@ -31,6 +31,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
index d12f37150b3425493401fe9703e9a5ebb3705f7e..00e9c44fdf377e7893537278fe2bf43aa070f1d0 100644 (file)
@@ -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 }
index 8d1b03e536a81059fb0102a4b2cea9ca5a84130d..ed90cfad40634584b1238bb0cf1afe619dc0a7cb 100644 (file)
@@ -1380,7 +1380,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