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>
diff --git a/configs/work_92105_defconfig b/configs/work_92105_defconfig
index b09c855..d67ec05 100644
--- a/configs/work_92105_defconfig
+++ b/configs/work_92105_defconfig
@@ -54,6 +54,7 @@
# 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
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index bb8cffc..931257c 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -122,6 +122,11 @@
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
diff --git a/include/configs/work_92105.h b/include/configs/work_92105.h
index 83b24a7..d6addf9 100644
--- a/include/configs/work_92105.h
+++ b/include/configs/work_92105.h
@@ -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