[PATCH] nand: denali: enable ONFI detection for SoCFPGA SoC64
Chee, Tien Fong
tienfong.chee at altera.com
Mon Nov 17 11:24:30 CET 2025
On 5/11/2025 1:16 am, dinesh.maniyam at altera.com wrote:
> From: Dinesh Maniyam <dinesh.maniyam at altera.com>
>
> 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 at altera.com>
> ---
> drivers/mtd/nand/raw/Kconfig | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/mtd/nand/raw/Kconfig b/drivers/mtd/nand/raw/Kconfig
> index 754b99bf3eb..a658defe794 100644
> --- a/drivers/mtd/nand/raw/Kconfig
> +++ b/drivers/mtd/nand/raw/Kconfig
> @@ -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
Reviewed-by: Tien Fong Chee <tien.fong.chee at altera.com>
Best regards,
Tien Fong
More information about the U-Boot
mailing list