Commit 57ac5120ae22225c325625158659575328bc4689

Authored by Han Xu
Committed by Ye Li
1 parent 115b519486

MLK-22697: configs: fix the imx6ul/ull mtdparts settings

imx6ul/ull were not set the mtdparts properly which causes the uuu cannot recognized the correct mtd partition.

Signed-off-by: Han Xu <han.xu@nxp.com>
(cherry picked from commit e7bbaadd03df7acbd84e5fbdbce037a369b82d68)

Showing 2 changed files with 6 additions and 2 deletions Side-by-side Diff

include/configs/mx6ul_14x14_evk.h
... ... @@ -62,7 +62,7 @@
62 62 #define CONFIG_SYS_MMC_IMG_LOAD_PART 1
63 63  
64 64 #ifdef CONFIG_NAND_BOOT
65   -#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(boot),16m(kernel),16m(dtb),16m(tee),-(rootfs) "
  65 +#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(nandboot),16m(nandkernel),16m(nanddtb),16m(nandtee),-(nandrootfs)"
66 66 #else
67 67 #define MFG_NAND_PARTITION ""
68 68 #endif
... ... @@ -78,6 +78,8 @@
78 78 "emmc_dev=1\0"\
79 79 "emmc_ack=1\0"\
80 80 "sd_dev=1\0" \
  81 + "mtdparts=" MFG_NAND_PARTITION \
  82 + "\0"\
81 83  
82 84 #if defined(CONFIG_NAND_BOOT)
83 85 #define CONFIG_EXTRA_ENV_SETTINGS \
include/configs/mx6ullevk.h
... ... @@ -62,7 +62,7 @@
62 62 #define CONFIG_SYS_MMC_IMG_LOAD_PART 1
63 63  
64 64 #ifdef CONFIG_NAND_BOOT
65   -#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(boot),16m(kernel),16m(dtb),16m(tee),-(rootfs) "
  65 +#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(nandboot),16m(nandkernel),16m(nanddtb),16m(nandtee),-(nandrootfs)"
66 66 #else
67 67 #define MFG_NAND_PARTITION ""
68 68 #endif
... ... @@ -78,6 +78,8 @@
78 78 "emmc_dev=1\0"\
79 79 "emmc_ack=1\0"\
80 80 "sd_dev=1\0" \
  81 + "mtdparts=" MFG_NAND_PARTITION \
  82 + "\0"\
81 83  
82 84 #if defined(CONFIG_NAND_BOOT)
83 85 #define CONFIG_EXTRA_ENV_SETTINGS \