]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Convert CONFIG_NAND_LPC32XX_MLC to Kconfig
authorTom Rini <trini@konsulko.com>
Wed, 22 Sep 2021 18:50:28 +0000 (14:50 -0400)
committerTom Rini <trini@konsulko.com>
Wed, 6 Oct 2021 13:15:14 +0000 (09:15 -0400)
This converts the following to Kconfig:
   CONFIG_NAND_LPC32XX_MLC

Signed-off-by: Tom Rini <trini@konsulko.com>
configs/work_92105_defconfig
drivers/mtd/nand/raw/Kconfig
include/configs/work_92105.h

index b09c855ed4b92794600473d49924317668730d29..d67ec056fa50ec470e0cf05c436edb1d6eee9056 100644 (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
index bb8cffcabcefd28c9dc5efd7297d7451edf76a90..931257cb1460c28626a4ac6e21ef5492cf49bd40 100644 (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
index 83b24a7dcc8fdcde144984658ece26f602715642..d6addf957b10de6a841bbd2faa658d769a5fefc0 100644 (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