]> git.ipfire.org Git - thirdparty/u-boot.git/commitdiff
drivers: nand: Enabled Kconfig and Makefile for cdns-nand
authorDinesh Maniyam <dinesh.maniyam@intel.com>
Wed, 26 Feb 2025 16:18:26 +0000 (00:18 +0800)
committerMichael Trimarchi <michael@amarulasolutions.com>
Sat, 15 Mar 2025 09:35:01 +0000 (10:35 +0100)
Enable the Kconfig and Makefile for the
Cadence NAND driver for the agilex5 family device.

Signed-off-by: Dinesh Maniyam <dinesh.maniyam@intel.com>
drivers/mtd/nand/raw/Kconfig
drivers/mtd/nand/raw/Makefile

index 609bdffbf779d1b11f992427bebbc0cb347d53d7..232b22a2faedfb54b525359a520c1eaa33b4aab7 100644 (file)
@@ -190,6 +190,15 @@ config SPL_NAND_LOAD
        def_bool y
        depends on NAND_DAVINCI && ARCH_DAVINCI && SPL_NAND_SUPPORT
 
+config NAND_CADENCE
+       bool "Support Cadence NAND controller as a DT device"
+       depends on OF_CONTROL && DM_MTD
+       select SYS_NAND_SELF_INIT
+       imply CMD_NAND
+       help
+         Enable the driver for NAND flash on platforms using a Cadence NAND
+         controller as a DT device.
+
 config NAND_DENALI
        bool
        select SYS_NAND_SELF_INIT
index b47a3d787ceb02eaf9c88735b3a3c656e1a330c6..b0ca39a1449c5dccc714624fc494ce93b0f8bcd0 100644 (file)
@@ -51,6 +51,7 @@ obj-$(CONFIG_NAND_ATMEL) += atmel_nand.o
 obj-$(CONFIG_DM_NAND_ATMEL) += atmel/
 obj-$(CONFIG_NAND_ARASAN) += arasan_nfc.o
 obj-$(CONFIG_NAND_BRCMNAND) += brcmnand/
+obj-$(CONFIG_NAND_CADENCE) += cadence_nand.o
 obj-$(CONFIG_NAND_DAVINCI) += davinci_nand.o
 obj-$(CONFIG_NAND_DENALI) += denali.o
 obj-$(CONFIG_NAND_DENALI_DT) += denali_dt.o