summaryrefslogtreecommitdiff
path: root/include/configs/motionpro.h
diff options
context:
space:
mode:
authorPiotr Kruszynski <ppk@semihalf.com>2007-05-10 16:55:52 +0200
committerBartlomiej Sieka <tur@semihalf.com>2007-05-10 16:55:52 +0200
commit7d98ba770a7eaefa29ce927f31a0956df85bf650 (patch)
treeaec3909fc52ace12ee2f70ba5bf69ebc6f480160 /include/configs/motionpro.h
parentde1de02a7cbf05e6b63e0d8ffc624f12493f6ba3 (diff)
[Motion-PRO] Add MTD and JFFS2 support, also add default partition
definition.
Diffstat (limited to 'include/configs/motionpro.h')
-rw-r--r--include/configs/motionpro.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/configs/motionpro.h b/include/configs/motionpro.h
index f1f7e2ba03..e6e0eb1ff5 100644
--- a/include/configs/motionpro.h
+++ b/include/configs/motionpro.h
@@ -51,6 +51,7 @@
CFG_CMD_PING | \
CFG_CMD_IDE | \
CFG_CMD_FAT | \
+ CFG_CMD_JFFS2 | \
CFG_CMD_I2C | \
CFG_CMD_DATE | \
CFG_CMD_EEPROM)
@@ -260,6 +261,14 @@
#define CFG_MAX_FLASH_SECT 256 /* max num of sects on one chip */
#define CONFIG_FLASH_16BIT /* Flash is 16-bit */
+/*
+ * MTD configuration
+ */
+#define CONFIG_JFFS2_CMDLINE
+#define MTDIDS_DEFAULT "nor0=motionpro-0"
+#define MTDPARTS_DEFAULT "mtdparts=motionpro-0:" \
+ "13m(fs),2m(kernel),256k(uboot)," \
+ "64k(env),64k(dtb),-(user_data)"
/*
* IDE/ATA configuration