]> git.sur5r.net Git - u-boot/blobdiff - include/configs/am3517_evm.h
Kconfig: Migrate MTDIDS_DEFAULT / MTDPARTS_DEFAULT
[u-boot] / include / configs / am3517_evm.h
index f4d2a2e0ce26e0ca3ec5506b65f66ed08caaa6c9..33ed85e6a546e2387d3420b21c77d7f267f833e0 100644 (file)
  *  DTB                  4 * NAND_BLOCK_SIZE = 512 KiB  @ 0xAA0000
  *  RootFS              Remaining Flash Space           @ 0xB20000
  */
-#define MTDIDS_DEFAULT "nand0=omap2-nand.0"
-#define MTDPARTS_DEFAULT "mtdparts=omap2-nand.0:"      \
-       "512k(MLO),"                                    \
-       "1920k(u-boot),"                                \
-       "256k(u-boot-env),"                             \
-       "8m(kernel),"                                   \
-       "512k(dtb),"                                    \
-       "-(rootfs)"
-#else
-#define MTDIDS_DEFAULT
-#define MTDPARTS_DEFAULT
 #endif /* CONFIG_NAND */
 
 /* Environment information */
        "bootenv=uEnv.txt\0" \
        "cmdline=\0" \
        "optargs=\0" \
-       "mtdids=" MTDIDS_DEFAULT "\0" \
-       "mtdparts=" MTDPARTS_DEFAULT "\0" \
+       "mtdids=" CONFIG_MTDIDS_DEFAULT "\0" \
+       "mtdparts=" CONFIG_MTDPARTS_DEFAULT "\0" \
        "mmcdev=0\0" \
        "mmcpart=1\0" \
        "mmcroot=/dev/mmcblk0p2 rw\0" \