summaryrefslogtreecommitdiff
path: root/include/configs/TQM5200.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/configs/TQM5200.h')
-rw-r--r--include/configs/TQM5200.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/configs/TQM5200.h b/include/configs/TQM5200.h
index 26d1e87..909d724 100644
--- a/include/configs/TQM5200.h
+++ b/include/configs/TQM5200.h
@@ -164,6 +164,7 @@
CFG_CMD_ECHO | \
CFG_CMD_EEPROM | \
CFG_CMD_I2C | \
+ CFG_CMD_JFFS2 | \
CFG_CMD_MII | \
CFG_CMD_NFS | \
CFG_CMD_PING | \
@@ -322,6 +323,15 @@
#define CFG_FLASH_ERASE_TOUT 240000 /* Flash Erase Timeout (in ms) */
#define CFG_FLASH_WRITE_TOUT 500 /* Flash Write Timeout (in ms) */
+/* Dynamic MTD partition support */
+#define CONFIG_JFFS2_CMDLINE
+#define MTDIDS_DEFAULT "nor0=TQM5200-0"
+#define MTDPARTS_DEFAULT "mtdparts=TQM5200-0:640k(firmware)," \
+ "1408k(kernel)," \
+ "2m(initrd)," \
+ "4m(small-fs)," \
+ "16m(big-fs)," \
+ "8m(misc)"
/*
* Environment settings