From: Han Xu Date: Fri, 12 Jul 2019 21:19:56 +0000 (-0500) Subject: MLK-22259-4: mx6dlsabreauto: configs: add default mtdids and mtdparts configs X-Git-Tag: rel_imx_4.19.35_1.1.0~163 X-Git-Url: https://git.somdevices.com/?a=commitdiff_plain;h=6af958b65443f1a56f45e9048e4f12b4a9088633;p=u-boot.git MLK-22259-4: mx6dlsabreauto: configs: add default mtdids and mtdparts configs set the i.MX6DL default mtdids value as "nor0=8000000.nor,nand0=gpmi-nand", nandbcb can directly write to the nandboot partition after u-boot brings up. => nandbcb update $loadaddr nandboot 912384 Device nor0 not found! current device is invalid, skip it and check the next one device 0 offset 0x0, size 0x912384 Erasing at 0x3f00000 -- 100% complete. NAND fw write: 0x200000 offset, 0x916000 bytes written: OK Signed-off-by: Han Xu --- diff --git a/configs/mx6dlsabreauto_nand_defconfig b/configs/mx6dlsabreauto_nand_defconfig index b70b7e97cf..e3ea6b2bab 100644 --- a/configs/mx6dlsabreauto_nand_defconfig +++ b/configs/mx6dlsabreauto_nand_defconfig @@ -12,6 +12,9 @@ CONFIG_NAND=y CONFIG_NAND_MXS=y CONFIG_NAND_MXS_DT=y CONFIG_ENV_IS_IN_NAND=y +CONFIG_CMD_MTDPARTS=y +CONFIG_MTDIDS_DEFAULT="nor0=8000000.nor,nand0=gpmi-nand" +CONFIG_MTDPARTS_SKIP_INVALID=y CONFIG_BOOTDELAY=3 # CONFIG_CONSOLE_MUX is not set CONFIG_SYS_CONSOLE_IS_IN_ENV=y