Skip to contentSkip to conversation

imx: ventana: enable ONFI detection to fix NAND chip configuration

PATCH In review Tim Harvey 3 participants 5 messages Mar 22, 2022 – Mar 28, 2022

lore
Share & tools
lore

Tim Harvey

author
#0 lore raw

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.

Fixes 777f333c375a ("imx: ventana: enable dm for MTD and NAND")
---
 configs/gwventana_nand_defconfig | 1 +
 1 file changed, 1 insertion(+)
configs/gwventana_nand_defconfig +1 -0
index 9fadc014a2c6..42e4f98b13b0 100644
@@ -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
Reviewed-by on v1 1/1
#1 lore raw

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")
author
#2 lore raw
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")

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

#3 lore raw
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")
Quoted 7 lines
Quoted 1 line

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?

Yes, thanks.

Signature · 1 line
Tom