From cad5da551d21d36b8ba630d75d59df0f3b8b72c0 Mon Sep 17 00:00:00 2001 From: Tim Harvey Date: Tue, 22 Mar 2022 11:42:49 -0700 Subject: [PATCH] imx: ventana: enable ONFI detection to fix NAND chip configuration 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 Reviewed-by: Fabio Estevam --- configs/gwventana_nand_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/configs/gwventana_nand_defconfig b/configs/gwventana_nand_defconfig index 9fadc014a2..42e4f98b13 100644 --- a/configs/gwventana_nand_defconfig +++ b/configs/gwventana_nand_defconfig @@ -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 -- 2.39.5