[U-Boot] [PATCH] guruplug: Add support for various file systems and features

Ludovic Courtès ludo at gnu.org
Wed Oct 6 00:03:08 CEST 2010


Add support for various file systems and features, as found
in `sheevaplug.h'.  In addition, increase the malloc area size
to allow compilation of UbiFS.

Signed-off-by: Ludovic Courtès <ludo at gnu.org>
---
 include/configs/guruplug.h |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/include/configs/guruplug.h b/include/configs/guruplug.h
index eb3fa57..cebe964 100644
--- a/include/configs/guruplug.h
+++ b/include/configs/guruplug.h
@@ -145,7 +145,7 @@
 /*
  * Size of malloc() pool
  */
-#define CONFIG_SYS_MALLOC_LEN	(1024 * 128) /* 128kB for malloc() */
+#define CONFIG_SYS_MALLOC_LEN	(1024 * 1024) /* 1 MiB for malloc() */
 /* size in bytes reserved for initial data */
 #define CONFIG_SYS_GBL_DATA_SIZE	128
 
@@ -195,4 +195,18 @@
 
 #define CONFIG_SYS_ALT_MEMTEST
 
+/*
+ * File system
+ */
+#define CONFIG_CMD_EXT2
+#define CONFIG_CMD_FAT
+#define CONFIG_CMD_JFFS2
+#define CONFIG_CMD_UBI
+#define CONFIG_CMD_UBIFS
+#define CONFIG_RBTREE
+#define CONFIG_MTD_DEVICE               /* needed for mtdparts commands */
+#define CONFIG_MTD_PARTITIONS
+#define CONFIG_CMD_MTDPARTS
+#define CONFIG_LZO
+
 #endif /* _CONFIG_GURUPLUG_H */
-- 
1.7.0



More information about the U-Boot mailing list