Commit a43a70e59763ec0c019dbbfc73a25c614501bf69

Authored by Allen Xu
1 parent e96969162f

MLK-9854 mtd index change for imx6 sabreauto

Modified the mtd index for imx6 sabreauto board, split the parallel nor
to two partitions and the NAND index could be align with imx6sx board for
mfgtool download.

Signed-off-by: Allen Xu <b45815@freescale.com>

Showing 1 changed file with 7 additions and 0 deletions Side-by-side Diff

include/configs/mx6qsabreauto.h
... ... @@ -19,6 +19,13 @@
19 19 #include "mx6sabre_common.h"
20 20 #include <asm/imx-common/gpio.h>
21 21  
  22 +#undef CONFIG_MFG_NAND_PARTITION
  23 +#ifdef CONFIG_SYS_BOOT_NAND
  24 +#define CONFIG_MFG_NAND_PARTITION "mtdparts=8000000.nor:1m(boot),-(rootfs)\\\\;gpmi-nand:16m(boot),16m(kernel),16m(dtb),-(rootfs) "
  25 +#else
  26 +#define CONFIG_MFG_NAND_PARTITION ""
  27 +#endif
  28 +
22 29 /*Since the pin conflicts on EIM D18, disable the USB host if the NOR flash is enabled */
23 30 #if !defined(CONFIG_SYS_USE_SPINOR) && !defined(CONFIG_SYS_USE_EIMNOR)
24 31 /* USB Configs */