]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
imx: ventana: enable ONFI detection to fix NAND chip configuration
authorTim Harvey <tharvey@gateworks.com>
Tue, 22 Mar 2022 18:42:49 +0000 (11:42 -0700)
committerTom Rini <trini@konsulko.com>
Mon, 28 Mar 2022 18:25:43 +0000 (14:25 -0400)
Enable ONFI detection to fix NAND chip configuration. Without this
the NAND oobsize will be wrong which leads to invalid ECC strength and
incompatibility with the previous configuration.

Fixes: 777f333c375a ("imx: ventana: enable dm for MTD and NAND")
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Reviewed-by: Fabio Estevam <festevam@denx.de>
configs/gwventana_nand_defconfig

index 9fadc014a2c62384682ee801f13ae724a146a8e3..42e4f98b13b0d5c409f2381253b9dfc0b4839ab1 100644 (file)
@@ -106,6 +106,7 @@ CONFIG_DM_MTD=y
 CONFIG_MTD_RAW_NAND=y
 CONFIG_NAND_MXS=y
 CONFIG_NAND_MXS_DT=y
+CONFIG_SYS_NAND_ONFI_DETECTION=y
 CONFIG_SYS_NAND_U_BOOT_LOCATIONS=y
 CONFIG_SYS_NAND_U_BOOT_OFFS=0xe00000
 CONFIG_PHYLIB=y