diff options
author | Tom Rini <trini@ti.com> | 2014-11-14 21:39:32 (GMT) |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-14 21:39:32 (GMT) |
commit | 2086e388d56cbb0e3737a6276f04f00f74bf6723 (patch) | |
tree | 280fe51e714f5124839d81e3e3a0a6967c9f81d3 /include/configs/P1022DS.h | |
parent | 6393c43c18a1aadcdcdd8551826eef15f50353d5 (diff) | |
parent | 94b383e7d843efe2618535f01776921751dd756b (diff) | |
download | u-boot-2086e388d56cbb0e3737a6276f04f00f74bf6723.tar.xz |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'include/configs/P1022DS.h')
-rw-r--r-- | include/configs/P1022DS.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/include/configs/P1022DS.h b/include/configs/P1022DS.h index 54e2569..bd08090 100644 --- a/include/configs/P1022DS.h +++ b/include/configs/P1022DS.h @@ -616,6 +616,25 @@ #endif /* + * Dynamic MTD Partition support with mtdparts + */ +#define CONFIG_MTD_DEVICE +#define CONFIG_MTD_PARTITIONS +#define CONFIG_CMD_MTDPARTS +#define CONFIG_FLASH_CFI_MTD +#ifdef CONFIG_PHYS_64BIT +#define MTDIDS_DEFAULT "nor0=fe8000000.nor" +#define MTDPARTS_DEFAULT "mtdparts=fe8000000.nor:48m(ramdisk)," \ + "14m(diagnostic),2m(dink),6m(kernel),58112k(fs)," \ + "512k(dtb),768k(u-boot)" +#else +#define MTDIDS_DEFAULT "nor0=e8000000.nor" +#define MTDPARTS_DEFAULT "mtdparts=e8000000.nor:48m(ramdisk)," \ + "14m(diagnostic),2m(dink),6m(kernel),58112k(fs)," \ + "512k(dtb),768k(u-boot)" +#endif + +/* * Environment */ #ifdef CONFIG_SPIFLASH |