Convert CONFIG_NAND_LPC32XX_MLC to Kconfig

This converts the following to Kconfig:
   CONFIG_NAND_LPC32XX_MLC

Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
Tom Rini 2021-09-22 14:50:28 -04:00
parent d73b9e67ed
commit ccdc7cfbdc
3 changed files with 6 additions and 1 deletions

View file

@ -54,6 +54,7 @@ CONFIG_SYS_I2C_EEPROM_ADDR=0x56
# CONFIG_MMC is not set
CONFIG_MTD=y
CONFIG_MTD_RAW_NAND=y
CONFIG_NAND_LPC32XX_MLC=y
CONFIG_PHYLIB=y
CONFIG_PHY_ADDR_ENABLE=y
CONFIG_PHY_SMSC=y

View file

@ -122,6 +122,11 @@ config NAND_DENALI_DT
Enable the driver for NAND flash on platforms using a Denali NAND
controller as a DT device.
config NAND_LPC32XX_MLC
bool "Support LPC32XX_MLC controller"
help
Enable the LPC32XX MLC NAND controller.
config NAND_LPC32XX_SLC
bool "Support LPC32XX_SLC controller"
help

View file

@ -59,7 +59,6 @@
#define CONFIG_SYS_MAX_NAND_DEVICE 1
#define CONFIG_SYS_MAX_NAND_CHIPS 1
#define CONFIG_SYS_NAND_BASE MLC_NAND_BASE
#define CONFIG_NAND_LPC32XX_MLC
/*
* GPIO