diff options
Diffstat (limited to 'packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-mtdparts.patch')
-rw-r--r-- | packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-mtdparts.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-mtdparts.patch b/packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-mtdparts.patch new file mode 100644 index 0000000000..9071dfa419 --- /dev/null +++ b/packages/u-boot/u-boot-1.3.2/mpc8313e-rdb-mtdparts.patch @@ -0,0 +1,35 @@ +diff -urN u-boot-1.3.2.orig/include/configs/MPC8313ERDB.h u-boot-1.3.2/include/configs/MPC8313ERDB.h +--- u-boot-1.3.2.orig/include/configs/MPC8313ERDB.h 2008-03-09 16:20:02.000000000 +0100 ++++ u-boot-1.3.2/include/configs/MPC8313ERDB.h 2008-04-21 19:20:51.000000000 +0200 +@@ -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 */ + + /* +@@ -354,6 +354,7 @@ + #define CONFIG_CMD_PING + #define CONFIG_CMD_DHCP + #define CONFIG_CMD_I2C ++#define CONFIG_CMD_JFFS2 + #define CONFIG_CMD_MII + #define CONFIG_CMD_DATE + #define CONFIG_CMD_PCI +@@ -365,6 +366,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 |