MLK-22580-3: imx8mm-evk: config: fix mtdparts and drop CONFIG_MTD_DEVICE
authorAlice Guo <alice.guo@nxp.com>
Fri, 11 Oct 2019 18:34:22 +0000 (02:34 +0800)
committerYe Li <ye.li@nxp.com>
Tue, 15 Oct 2019 09:37:43 +0000 (02:37 -0700)
remove space from mtdparts definition and remove
"#define CONFIG_MTD_DEVICE" to make source code can be copiled correctly

Signed-off-by: Alice Guo <alice.guo@nxp.com>
(cherry picked from commit c01b869d5b9dc8cff340c9b911d8df9d2aa257dd)

include/configs/imx8mm_evk.h

index 4a1fbb1..9255cfe 100644 (file)
 #endif
 
 #ifdef CONFIG_NAND_BOOT
-#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(nandboot),16m(nandfit),32m(nandkernel),16m(nanddtb),8m(nandtee),-(nandrootfs) "
+#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(nandboot),16m(nandfit),32m(nandkernel),16m(nanddtb),8m(nandtee),-(nandrootfs)"
 #endif
 
 /*
 #define CONFIG_SYS_NAND_ONFI_DETECTION
 
 #ifdef CONFIG_CMD_UBI
-#define CONFIG_MTD_DEVICE
 #endif
 #endif /* CONFIG_NAND_MXS */