aboutsummaryrefslogtreecommitdiffstats
path: root/packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-mtdparts.patch
blob: e453d0145c158dfdfe168cbf5fa881f23a63074c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Index: u-boot-1.3.2/include/configs/MPC8313ERDB.h
===================================================================
--- u-boot-1.3.2.orig/include/configs/MPC8313ERDB.h	2008-11-24 16:38:56.000000000 +0100
+++ u-boot-1.3.2/include/configs/MPC8313ERDB.h	2008-11-24 16:38:58.000000000 +0100
@@ -179,7 +179,7 @@
 #define CFG_INIT_SP_OFFSET	CFG_GBL_DATA_OFFSET
 
 /* CFG_MONITOR_LEN must be a multiple of CFG_ENV_SECT_SIZE */
-#define CFG_MONITOR_LEN		(256 * 1024)	/* Reserve 256 kB for Mon */
+#define CFG_MONITOR_LEN		(384 * 1024)	/* Reserve 384 kB for Mon */
 #define CFG_MALLOC_LEN		(512 * 1024)	/* Reserved for malloc */
 
 /*
@@ -358,6 +358,7 @@
 #define CONFIG_CMD_DATE
 #define CONFIG_CMD_PCI
 #define CONFIG_CMD_NAND
+#define CONFIG_CMD_JFFS2
 
 #if defined(CFG_RAMBOOT)
     #undef CONFIG_CMD_ENV
@@ -366,6 +367,14 @@
 
 #define CONFIG_CMDLINE_EDITING 1
 
+/*
+ * JFFS2 partitions (mtdparts command line support)
+ */
+#define CONFIG_JFFS2_CMDLINE
+#define CONFIG_JFFS2_NAND
+#define MTDIDS_DEFAULT		"nor0=physmap-flash.0,nand0=nand0"
+#define MTDPARTS_DEFAULT	"mtdparts=physmap-flash.0:384k(uboot),64k(env)"
+
 
 /*
  * Miscellaneous configurable options