blob: 1c7ccbff5344ebc55f6462b77da01dc048a74729 (
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-21 15:01:24.000000000 +0100
+++ u-boot-1.3.2/include/configs/MPC8313ERDB.h 2008-11-21 15:01:57.000000000 +0100
@@ -182,7 +182,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 */
/*
@@ -372,6 +372,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
@@ -380,6 +381,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
|