Commit e47b14af00b4f4c982d10296f2d5dd678d320dc7

Authored by Alice Guo
Committed by Ye Li
1 parent ff0854ff80

MLK-22580-3: imx8mm-evk: config: fix mtdparts and drop CONFIG_MTD_DEVICE

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)

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

include/configs/imx8mm_evk.h
... ... @@ -112,7 +112,7 @@
112 112 #endif
113 113  
114 114 #ifdef CONFIG_NAND_BOOT
115   -#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(nandboot),16m(nandfit),32m(nandkernel),16m(nanddtb),8m(nandtee),-(nandrootfs) "
  115 +#define MFG_NAND_PARTITION "mtdparts=gpmi-nand:64m(nandboot),16m(nandfit),32m(nandkernel),16m(nanddtb),8m(nandtee),-(nandrootfs)"
116 116 #endif
117 117  
118 118 /*
... ... @@ -312,7 +312,6 @@
312 312 #define CONFIG_SYS_NAND_ONFI_DETECTION
313 313  
314 314 #ifdef CONFIG_CMD_UBI
315   -#define CONFIG_MTD_DEVICE
316 315 #endif
317 316 #endif /* CONFIG_NAND_MXS */
318 317