1Add support for the various file systems as found in `sheevaplug.h'.
2As for the SheevaPlug, the increase in size means that the environment
3must be pushed further away.
4
5In addition, increase the malloc area size to allow compilation of UbiFS.
6
7--- u-boot/include/configs/guruplug.h 1970-01-01 01:00:01.000000000 +0100
8+++ u-boot/include/configs/guruplug.h 2010-09-29 18:59:52.000000000 +0200
9@@ -123,8 +123,8 @@
10 * it has to be rounded to sector size
11 */
12 #define CONFIG_ENV_SIZE 0x20000 /* 128k */
13-#define CONFIG_ENV_ADDR 0x40000
14-#define CONFIG_ENV_OFFSET 0x40000 /* env starts here */
15+#define CONFIG_ENV_ADDR 0x60000
16+#define CONFIG_ENV_OFFSET 0x60000 /* env starts here */
17
18 /*
19 * Default environment variables
20@@ -145,7 +145,7 @@
21 /*
22 * Size of malloc() pool
23 */
24-#define CONFIG_SYS_MALLOC_LEN (1024 * 128) /* 128kB for malloc() */
25+#define CONFIG_SYS_MALLOC_LEN (1024 * 1024) /* 1 MiB for malloc() */
26 /* size in bytes reserved for initial data */
27 #define CONFIG_SYS_GBL_DATA_SIZE 128
28
29@@ -195,4 +195,18 @@
30
31 #define CONFIG_SYS_ALT_MEMTEST
32
33+/*
34+ * File system
35+ */
36+#define CONFIG_CMD_EXT2
37+#define CONFIG_CMD_FAT
38+#define CONFIG_CMD_JFFS2
39+#define CONFIG_CMD_UBI
40+#define CONFIG_CMD_UBIFS
41+#define CONFIG_RBTREE
42+#define CONFIG_MTD_DEVICE /* needed for mtdparts commands */
43+#define CONFIG_MTD_PARTITIONS
44+#define CONFIG_CMD_MTDPARTS
45+#define CONFIG_LZO
46+
47 #endif /* _CONFIG_GURUPLUG_H */
48