diff options
author | Adam Ford <aford173@gmail.com> | 2018-07-08 06:18:48 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-07-21 22:26:25 -0400 |
commit | d294335e5d51aa83b6dd57db85c3251e9a92349e (patch) | |
tree | d1cc54dd07518ec90a0da9a8ff82cfc8a3a594e6 | |
parent | 474ecd2c84d97314b8145fbe3a57887f41b2edb3 (diff) | |
download | u-boot-d294335e5d51aa83b6dd57db85c3251e9a92349e.tar.gz |
Convert CONFIG_NAND_LPC32XX_SLC to Kconfig
This converts the following to Kconfig:
CONFIG_NAND_LPC32XX_SLC
Signed-off-by: Adam Ford <aford173@gmail.com>
-rw-r--r-- | configs/devkit3250_defconfig | 1 | ||||
-rw-r--r-- | drivers/mtd/nand/Kconfig | 5 | ||||
-rw-r--r-- | include/configs/devkit3250.h | 1 | ||||
-rw-r--r-- | scripts/config_whitelist.txt | 1 |
4 files changed, 6 insertions, 2 deletions
diff --git a/configs/devkit3250_defconfig b/configs/devkit3250_defconfig index 14c24ce6f2..8a37122104 100644 --- a/configs/devkit3250_defconfig +++ b/configs/devkit3250_defconfig @@ -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 diff --git a/drivers/mtd/nand/Kconfig b/drivers/mtd/nand/Kconfig index bdc272142e..dad5711470 100644 --- a/drivers/mtd/nand/Kconfig +++ b/drivers/mtd/nand/Kconfig @@ -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 diff --git a/include/configs/devkit3250.h b/include/configs/devkit3250.h index d12f37150b..00e9c44fdf 100644 --- a/include/configs/devkit3250.h +++ b/include/configs/devkit3250.h @@ -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 } diff --git a/scripts/config_whitelist.txt b/scripts/config_whitelist.txt index 8d1b03e536..ed90cfad40 100644 --- a/scripts/config_whitelist.txt +++ b/scripts/config_whitelist.txt @@ -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 |