From e47b14af00b4f4c982d10296f2d5dd678d320dc7 Mon Sep 17 00:00:00 2001 From: Alice Guo Date: Sat, 12 Oct 2019 02:34:22 +0800 Subject: [PATCH] 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 (cherry picked from commit c01b869d5b9dc8cff340c9b911d8df9d2aa257dd) --- include/configs/imx8mm_evk.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/configs/imx8mm_evk.h b/include/configs/imx8mm_evk.h index 4a1fbb11d1..9255cfeee4 100644 --- a/include/configs/imx8mm_evk.h +++ b/include/configs/imx8mm_evk.h @@ -112,7 +112,7 @@ #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 /* @@ -312,7 +312,6 @@ #define CONFIG_SYS_NAND_ONFI_DETECTION #ifdef CONFIG_CMD_UBI -#define CONFIG_MTD_DEVICE #endif #endif /* CONFIG_NAND_MXS */ -- 2.17.1