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 <aford173@gmail.com> #omap3_logic
Signed-off-by: Tom Rini <trini@konsulko.com>
diff --git a/include/configs/dns325.h b/include/configs/dns325.h
index f816685..cb0d241 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 ...; " \