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/dns325.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'include/configs/dns325.h') diff --git a/include/configs/dns325.h b/include/configs/dns325.h index f8166854c1..cb0d2413f9 100644 --- a/include/configs/dns325.h +++ b/include/configs/dns325.h @@ -82,10 +82,6 @@ /* * Default environment variables */ -#define MTDIDS_DEFAULT "nand0=orion_nand" - -#define MTDPARTS_DEFAULT "mtdparts=orion_nand:" \ - "896k(u-boot),128k(u-boot-env),5m(kernel),-(rootfs)\0" #define CONFIG_EXTRA_ENV_SETTINGS \ "stdin=serial\0" \ @@ -94,7 +90,7 @@ "loadaddr=0x800000\0" \ "autoload=no\0" \ "console=ttyS0,115200\0" \ - "mtdparts="MTDPARTS_DEFAULT \ + "mtdparts="CONFIG_MTDPARTS_DEFAULT \ "optargs=\0" \ "bootenv=uEnv.txt\0" \ "importbootenv=echo Importing environment ...; " \ -- cgit v1.2.3