summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorDinesh Maniyam <[email protected]>2025-11-05 01:16:17 +0800
committerTien Fong Chee <[email protected]>2025-12-01 14:01:37 +0800
commit6beb48a3952b59e7b8b613ecf29e75d87d796f60 (patch)
tree9f1dfe14b5539d3f9692b8a9fc03cc97ccc0f243 /drivers
parent3ba9b1f7bd7e7c47ff2768fc88abeb249400d374 (diff)
nand: denali: enable ONFI detection for SoCFPGA SoC64
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. Signed-off-by: Dinesh Maniyam <[email protected]> Reviewed-by: Tien Fong Chee <[email protected]>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mtd/nand/raw/Kconfig1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
index c76c10e1ef9..a93b00cdb7e 100644
--- a/drivers/mtd/nand/raw/Kconfig
+++ b/drivers/mtd/nand/raw/Kconfig
@@ -212,6 +212,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