]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - include/configs/eco5pk.h
Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT
[people/ms/u-boot.git] / include / configs / eco5pk.h
index 3d7a168bc4ee9627916384798aebf60801a1c52f..9dbd7a23313d842ff90e2b3f2c904365b318f4e6 100644 (file)
 /*
  * Set its own mtdparts, different from common
  */
-#undef MTDIDS_DEFAULT
-#undef MTDPARTS_DEFAULT
-#define MTDIDS_DEFAULT         "nand0=omap2-nand.0"
-#define MTDPARTS_DEFAULT       "mtdparts=omap2-nand.0:512k(xloader-nand)," \
-                               "1024k(uboot-nand),256k(params-nand)," \
-                               "5120k(kernel),-(ubifs)"
 
 /*
  * The arithmetic in tam3517.h is wrong for us and the kernel gets overwritten.
@@ -51,7 +45,7 @@
 #define        CONFIG_EXTRA_ENV_SETTINGS       CONFIG_TAM3517_SETTINGS \
        "install_kernel=if dhcp $bootfile; then nand erase kernel;" \
                                "nand write $fileaddr kernel; fi\0" \
-       "mtdparts="MTDPARTS_DEFAULT"\0" \
+       "mtdparts="CONFIG_MTDPARTS_DEFAULT"\0" \
        "serverip=192.168.142.60\0"
 
 #endif /* __CONFIG_H */