From a43a70e59763ec0c019dbbfc73a25c614501bf69 Mon Sep 17 00:00:00 2001 From: Allen Xu Date: Fri, 14 Nov 2014 01:46:26 -0600 Subject: 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 --- include/configs/mx6qsabreauto.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/configs/mx6qsabreauto.h b/include/configs/mx6qsabreauto.h index 48e64e5..5614964 100644 --- a/include/configs/mx6qsabreauto.h +++ b/include/configs/mx6qsabreauto.h @@ -19,6 +19,13 @@ #include "mx6sabre_common.h" #include +#undef CONFIG_MFG_NAND_PARTITION +#ifdef CONFIG_SYS_BOOT_NAND +#define CONFIG_MFG_NAND_PARTITION "mtdparts=8000000.nor:1m(boot),-(rootfs)\\\\;gpmi-nand:16m(boot),16m(kernel),16m(dtb),-(rootfs) " +#else +#define CONFIG_MFG_NAND_PARTITION "" +#endif + /*Since the pin conflicts on EIM D18, disable the USB host if the NOR flash is enabled */ #if !defined(CONFIG_SYS_USE_SPINOR) && !defined(CONFIG_SYS_USE_EIMNOR) /* USB Configs */ -- cgit v1.1