nand: denali: enable ONFI detection for SoCFPGA SoC64
authorDinesh Maniyam <dinesh.maniyam@altera.com>
Tue, 4 Nov 2025 17:16:17 +0000 (01:16 +0800)
committerTien Fong Chee <tien.fong.chee@intel.com>
Mon, 1 Dec 2025 06:01:37 +0000 (14:01 +0800)
commit6beb48a3952b59e7b8b613ecf29e75d87d796f60
tree9f1dfe14b5539d3f9692b8a9fc03cc97ccc0f243
parent3ba9b1f7bd7e7c47ff2768fc88abeb249400d374
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 <dinesh.maniyam@altera.com>
Reviewed-by: Tien Fong Chee <tien.fong.chee@altera.com>
drivers/mtd/nand/raw/Kconfig