nand: denali: enable ONFI detection for SoCFPGA SoC64
Subsystems (2)
PATCH 1/1 nand: denali: enable ONFI detection for SoCFPGA SoC64
From: Dinesh Maniyam <[email protected]>
Enable ONFI parameter page detection for SoCFPGA SoC64 devices by selecting SYS_NAND_ONFI_DETECTION in the NAND_DENALI Kconfig entry.
This allows SoCFPGA SoC64 platforms using the Denali NAND controller to automatically detect NAND parameters via the ONFI interface instead of relying on hardcoded configuration values.
The selection is limited to TARGET_SOCFPGA_SOC64 to avoid affecting non-SoC64 platforms that use legacy NAND handling.
--- drivers/mtd/nand/raw/Kconfig | 1 + 1 file changed, 1 insertion(+)
drivers/mtd/nand/raw/Kconfig +1 -0
@@ -213,6 +213,7 @@ config NAND_CADENCE config NAND_DENALI bool select SYS_NAND_SELF_INIT + select SYS_NAND_ONFI_DETECTION if TARGET_SOCFPGA_SOC64 imply CMD_NAND config NAND_DENALI_DT
Signature · 1 line
2.43.7
Quoted 22 lines · On 5/11/2025 1:16 am, [email protected] wrote:
From: Dinesh Maniyam <[email protected]>
Enable ONFI parameter page detection for SoCFPGA SoC64 devices by selecting
SYS_NAND_ONFI_DETECTIONin theNAND_DENALIKconfigentry.This allows SoCFPGA SoC64 platforms using the Denali NAND controller to automatically detect NAND parameters via the ONFI interface instead of relying on hardcoded configuration values.
The selection is limited to
TARGET_SOCFPGA_SOC64to avoid affecting non-SoC64 platforms that use legacy NAND handling.Signed-off-by Dinesh Maniyam <[email protected]>--- drivers/mtd/nand/raw/Kconfig | 1 + 1 file changed, 1 insertion(+)drivers/mtd/nand/raw/Kconfig +0
-0
drivers/mtd/nand/raw/Kconfig config NAND_CADENCE · line 219
Quoted 7 lines
drivers/mtd/nand/raw/Kconfig +1
-0@@ -213,6 +213,7 @@ config NAND_CADENCE config NAND_DENALI bool select SYS_NAND_SELF_INIT + select SYS_NAND_ONFI_DETECTION if TARGET_SOCFPGA_SOC64 imply CMD_NAND config NAND_DENALI_DT
Best regards,
Tien Fong