summaryrefslogtreecommitdiff
path: root/board/fads
diff options
context:
space:
mode:
authorStefan Roese <sr@denx.de>2009-03-19 13:30:36 +0100
committerWolfgang Denk <wd@denx.de>2009-03-20 22:39:14 +0100
commit68d7d65100e84df00bca971c114092731b441090 (patch)
tree9114e5a08f2eb749117196cc10585a717996d0da /board/fads
parent02a301cd5087eaffdf456e0a5cec1100c4d9a398 (diff)
downloadu-boot-imx-68d7d65100e84df00bca971c114092731b441090.zip
u-boot-imx-68d7d65100e84df00bca971c114092731b441090.tar.gz
u-boot-imx-68d7d65100e84df00bca971c114092731b441090.tar.bz2
Separate mtdparts command from jffs2
Currently the mtdparts commands are included in the jffs2 command support. This doesn't make sense anymore since other commands (e.g. UBI) use this infrastructure as well now. This patch separates the mtdparts commands from the jffs2 commands making it possible to only select mtdparts when no JFFS2 support is needed. Signed-off-by: Stefan Roese <sr@denx.de> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Diffstat (limited to 'board/fads')
-rw-r--r--board/fads/fads.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/fads/fads.h b/board/fads/fads.h
index 24e43ea..4ab4b26 100644
--- a/board/fads/fads.h
+++ b/board/fads/fads.h
@@ -241,7 +241,7 @@
*
*/
/* No command line, one static partition, whole device */
-#undef CONFIG_JFFS2_CMDLINE
+#undef CONFIG_CMD_MTDPARTS
#define CONFIG_JFFS2_DEV "nor0"
#define CONFIG_JFFS2_PART_SIZE 0xFFFFFFFF
#define CONFIG_JFFS2_PART_OFFSET 0x00000000
@@ -249,7 +249,7 @@
/* mtdparts command line support */
/* Note: fake mtd_id used, no linux mtd map file */
/*
-#define CONFIG_JFFS2_CMDLINE
+#define CONFIG_CMD_MTDPARTS
#define MTDIDS_DEFAULT "nor0=fads0,nor1=fads-1,nor2=fads-2,nor3=fads-3"
#define MTDPARTS_DEFAULT "mtdparts=fads-0:-@1m(user1),fads-1:-(user2),fads-2:-(user3),fads-3:-(user4)"
*/