summaryrefslogtreecommitdiff
path: root/include/configs/idmr.h
diff options
context:
space:
mode:
authorroy zang <tie-fei.zang@freescale.com>2007-01-30 16:43:18 +0800
committerZang Tiefei <roy@bus.ap.freescale.net>2007-01-30 16:43:18 +0800
commitc1c52e38d35ff01f08b55377126c979a08fbdb1d (patch)
tree2c4b7c384ccfc8834693ef392d30b10fc3899237 /include/configs/idmr.h
parentfdef388758506765d4d6a7155c8f1584c63ff581 (diff)
parentf8db84f132b1e335f20f96138a1f09ed97b08664 (diff)
downloadu-boot-imx-c1c52e38d35ff01f08b55377126c979a08fbdb1d.zip
u-boot-imx-c1c52e38d35ff01f08b55377126c979a08fbdb1d.tar.gz
u-boot-imx-c1c52e38d35ff01f08b55377126c979a08fbdb1d.tar.bz2
Merge branch 'master' into hpc2
Diffstat (limited to 'include/configs/idmr.h')
-rw-r--r--include/configs/idmr.h20
1 files changed, 18 insertions, 2 deletions
diff --git a/include/configs/idmr.h b/include/configs/idmr.h
index 48915b3..b1dbe2c 100644
--- a/include/configs/idmr.h
+++ b/include/configs/idmr.h
@@ -83,8 +83,8 @@
*/
#define CONFIG_COMMANDS ((CONFIG_CMD_DFL | \
CFG_CMD_PING | \
- CFG_CMD_NET | \
- CFG_CMD_MII) & \
+ CFG_CMD_JFFS2 | \
+ CFG_CMD_NET) & \
~(CFG_CMD_LOADS | \
CFG_CMD_LOADB))
@@ -194,4 +194,20 @@
/* 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) */
+
#endif /* _IDMR_H */