From 43ede0bca7fc1590b623832b743213b818257a27 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Sun, 22 Oct 2017 17:55:07 -0400 Subject: Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT We move all instances of CONFIG_MTDIDS_DEFAULT and CONFIG_MTDPARTS_DEFAULT from the header files to the defconfig files. There's a few cases here where we need to expand upon what was in the header file. Tested-by: Adam Ford #omap3_logic Signed-off-by: Tom Rini --- include/configs/brppt1.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) (limited to 'include/configs/brppt1.h') diff --git a/include/configs/brppt1.h b/include/configs/brppt1.h index 2af575a..2dadcae 100644 --- a/include/configs/brppt1.h +++ b/include/configs/brppt1.h @@ -83,8 +83,8 @@ #ifdef CONFIG_NAND #define NANDARGS \ - "mtdids=" MTDIDS_DEFAULT "\0" \ - "mtdparts=" MTDPARTS_DEFAULT "\0" \ + "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \ + "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \ "nandargs=setenv bootargs console=${console} " \ "${optargs} " \ "${optargs_rot} " \ @@ -206,16 +206,6 @@ MMCARGS #define CONFIG_SYS_NAND_U_BOOT_START CONFIG_SYS_TEXT_BASE #define CONFIG_SYS_NAND_U_BOOT_OFFS 0x80000 -#define MTDIDS_DEFAULT "nand0=omap2-nand.0" -#define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:" \ - "128k(MLO)," \ - "128k(MLO.backup)," \ - "128k(dtb)," \ - "128k(u-boot-env)," \ - "512k(u-boot)," \ - "4m(kernel),"\ - "128m(rootfs),"\ - "-(user)" #define CONFIG_NAND_OMAP_GPMC_WSCFG 1 #endif /* CONFIG_NAND */ -- cgit v1.1