diff options
author | Bartlomiej Sieka <tur@semihalf.com> | 2007-01-23 17:22:06 +0100 |
---|---|---|
committer | Bartlomiej Sieka <tur@semihalf.com> | 2007-01-23 17:22:06 +0100 |
commit | 2daf046ba627f85f44195815778140039636244e (patch) | |
tree | fbedd5f68fc51108bbb2d759ed13221c980e085e /include/configs | |
parent | f7db33101fbc9c8f0a10738ce87034875a17aeb9 (diff) | |
download | u-boot-imx-2daf046ba627f85f44195815778140039636244e.zip u-boot-imx-2daf046ba627f85f44195815778140039636244e.tar.gz u-boot-imx-2daf046ba627f85f44195815778140039636244e.tar.bz2 |
[iDMR] Add MTD and JFFS2 support, also add default partition definition.
Diffstat (limited to 'include/configs')
-rw-r--r-- | include/configs/idmr.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/configs/idmr.h b/include/configs/idmr.h index 8143f0d..b1dbe2c 100644 --- a/include/configs/idmr.h +++ b/include/configs/idmr.h @@ -83,6 +83,7 @@ */ #define CONFIG_COMMANDS ((CONFIG_CMD_DFL | \ CFG_CMD_PING | \ + CFG_CMD_JFFS2 | \ CFG_CMD_NET) & \ ~(CFG_CMD_LOADS | \ CFG_CMD_LOADB)) @@ -194,6 +195,17 @@ /* Port configuration */ #define CFG_FECI2C 0xF0 + +/* Dynamic MTD partition support */ +#define CONFIG_JFFS2_CMDLINE +#define MTDIDS_DEFAULT "nor0=idmr-0" + +#define MTDPARTS_DEFAULT "mtdparts=idmr-0:128k(u-boot)," \ + "64k(env)," \ + "640k(kernel)," \ + "2m(rootfs)," \ + "-(user)"; + #if (CONFIG_COMMANDS & CFG_CMD_MII) #error MII commands don't work on iDMR board and sholud not be enabled. #endif /* (CONFIG_COMMANDS & CFG_CMD_MII) */ |