diff mbox series

[03/14] Convert CONFIG_NAND_LPC32XX_MLC to Kconfig

Message ID 20210922185039.30707-3-trini@konsulko.com
State Accepted
Commit ccdc7cfbdc3c3b35434c41df7f2abdd1d6665714
Delegated to: Tom Rini
Headers show
Series [01/14] rk3308: Remove unused NAND defines | expand

Commit Message

Tom Rini Sept. 22, 2021, 6:50 p.m. UTC
This converts the following to Kconfig:
   CONFIG_NAND_LPC32XX_MLC

Signed-off-by: Tom Rini <trini@konsulko.com>
---
 configs/work_92105_defconfig | 1 +
 drivers/mtd/nand/raw/Kconfig | 5 +++++
 include/configs/work_92105.h | 1 -
 3 files changed, 6 insertions(+), 1 deletion(-)

Comments

Tom Rini Oct. 6, 2021, 5:47 p.m. UTC | #1
On Wed, Sep 22, 2021 at 02:50:28PM -0400, Tom Rini wrote:

> This converts the following to Kconfig:
>    CONFIG_NAND_LPC32XX_MLC
> 
> Signed-off-by: Tom Rini <trini@konsulko.com>

Applied to u-boot/master, thanks!
diff mbox series

Patch

diff --git a/configs/work_92105_defconfig b/configs/work_92105_defconfig
index b09c855ed4b9..d67ec056fa50 100644
--- a/configs/work_92105_defconfig
+++ b/configs/work_92105_defconfig
@@ -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
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index f7b1334ddb47..a0602e391607 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -118,6 +118,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
diff --git a/include/configs/work_92105.h b/include/configs/work_92105.h
index 83b24a7dcc8f..d6addf957b10 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