diff options
author | Nishanth Menon <nm@ti.com> | 2009-03-25 22:13:56 +0100 |
---|---|---|
committer | Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com> | 2009-03-25 22:13:56 +0100 |
commit | 917cfc70c18b74fa8a80189bdce8395199fa8360 (patch) | |
tree | d31cb8f7899cb319f6d1eb5b3269c151999ff6e9 | |
parent | 4ace2823bc1fcc96874069a9a8c0821ff4f95f5d (diff) | |
download | u-boot-imx-917cfc70c18b74fa8a80189bdce8395199fa8360.zip u-boot-imx-917cfc70c18b74fa8a80189bdce8395199fa8360.tar.gz u-boot-imx-917cfc70c18b74fa8a80189bdce8395199fa8360.tar.bz2 |
OMAP3:Beagle: Enable mtdparts
http://www.denx.de/wiki/DULG/UBootCmdGroupFlash#UBootCmdFlMtdparts
provides a flexible way to create and maintain u-boot mtd
partitions. This allows commands such as "nand erase fs"
to work and the user no longer needs to decode the absolute
nand offsets. This patch enables this function for beagleboard
Signed-off-by: Nishanth Menon <nm@ti.com>
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
-rw-r--r-- | include/configs/omap3_beagle.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/configs/omap3_beagle.h b/include/configs/omap3_beagle.h index 9057606..0f9344b 100644 --- a/include/configs/omap3_beagle.h +++ b/include/configs/omap3_beagle.h @@ -98,6 +98,11 @@ #define CONFIG_CMD_EXT2 /* EXT2 Support */ #define CONFIG_CMD_FAT /* FAT support */ #define CONFIG_CMD_JFFS2 /* JFFS2 Support */ +#define CONFIG_CMD_MTDPARTS /* Enable MTD parts commands */ +#define MTDIDS_DEFAULT "nand0=nand" +#define MTDPARTS_DEFAULT "mtdparts=nand:512k(x-loader),"\ + "1920k(u-boot),128k(u-boot-env),"\ + "4m(kernel),-(fs)" #define CONFIG_CMD_I2C /* I2C serial bus support */ #define CONFIG_CMD_MMC /* MMC support */ |