imx: ventana: enable ONFI detection to fix NAND chip configuration
PATCH 1/1 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.
--- configs/gwventana_nand_defconfig | 1 + 1 file changed, 1 insertion(+)
configs/gwventana_nand_defconfig +1 -0
@@ -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
Signature · 1 line
2.17.1
Hi Tim,
Quoted 8 lines · Tim Harvey
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 <[email protected]>
Quoted 9 lines · Fabio Estevam
Hi Tim,
Quoted 5 lines · Tim Harvey
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.
Quoted 5 lines
Quoted 3 lines
Fixes 777f333c375a ("imx: ventana: enable dm for MTD and NAND")Signed-off-by Tim Harvey <[email protected]>Reviewed-by Fabio Estevam <[email protected]>
Tom and Stefano,
With commit ed48490f8d3f ("mtd: gpmi: fix the bch setting backward compatible issue") now applied could this be applied for v2022.04 as well to fix NAND on the gw_ventana boards?
Best Regards,
Tim
Quoted 14 lines · Tim Harvey
Quoted 13 lines · Fabio Estevam
Hi Tim,
Quoted 8 lines · Tim Harvey
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 <[email protected]>
Quoted 7 lines
Quoted 1 line
Reviewed-by Fabio Estevam <[email protected]>Tom and Stefano,
With commit
ed48490f8d3f("mtd: gpmi: fix the bch setting backward compatible issue") now applied could this be applied for v2022.04 as well to fix NAND on thegw_ventanaboards?
Yes, thanks.
Signature · 1 line
Tom
Quoted 8 lines · Tim Harvey
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 <[email protected]>Reviewed-by Fabio Estevam <[email protected]>
Applied to u-boot/master, thanks!
Signature · 1 line
Tom