diff options
author | Tom Rini <trini@ti.com> | 2014-11-14 16:39:32 -0500 |
---|---|---|
committer | Tom Rini <trini@ti.com> | 2014-11-14 16:39:32 -0500 |
commit | 2086e388d56cbb0e3737a6276f04f00f74bf6723 (patch) | |
tree | 280fe51e714f5124839d81e3e3a0a6967c9f81d3 /include/configs/BSC9132QDS.h | |
parent | 6393c43c18a1aadcdcdd8551826eef15f50353d5 (diff) | |
parent | 94b383e7d843efe2618535f01776921751dd756b (diff) | |
download | u-boot-imx-2086e388d56cbb0e3737a6276f04f00f74bf6723.zip u-boot-imx-2086e388d56cbb0e3737a6276f04f00f74bf6723.tar.gz u-boot-imx-2086e388d56cbb0e3737a6276f04f00f74bf6723.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
Diffstat (limited to 'include/configs/BSC9132QDS.h')
-rw-r--r-- | include/configs/BSC9132QDS.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/configs/BSC9132QDS.h b/include/configs/BSC9132QDS.h index 989363c..2722a32 100644 --- a/include/configs/BSC9132QDS.h +++ b/include/configs/BSC9132QDS.h @@ -637,6 +637,27 @@ combinations. this should be removed later #endif /* + * Dynamic MTD Partition support with mtdparts + */ +#ifndef CONFIG_SYS_NO_FLASH +#define CONFIG_MTD_DEVICE +#define CONFIG_MTD_PARTITIONS +#define CONFIG_CMD_MTDPARTS +#define CONFIG_FLASH_CFI_MTD +#define MTDIDS_DEFAULT "nor0=88000000.nor,nand0=ff800000.flash," +#define MTDPARTS_DEFAULT "mtdparts=88000000.nor:256k(dtb),7m(kernel)," \ + "55m(fs),1m(uboot);ff800000.flash:1m(uboot)," \ + "8m(kernel),512k(dtb),-(fs)" +#endif +/* + * Override partitions in device tree using info + * in "mtdparts" environment variable + */ +#ifdef CONFIG_CMD_MTDPARTS +#define CONFIG_FDT_FIXUP_PARTITIONS +#endif + +/* * Environment Configuration */ |