[U-Boot] [PATCH 26/31] M28: Enable UBI and UBIFS
Marek Vasut
marek.vasut at gmail.com
Thu Sep 8 22:42:54 CEST 2011
Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
Cc: Stefano Babic <sbabic at denx.de>
Cc: Wolfgang Denk <wd at denx.de>
Cc: Detlev Zundel <dzu at denx.de>
---
include/configs/m28evk.h | 16 ++++++++++++++++
1 files changed, 16 insertions(+), 0 deletions(-)
diff --git a/include/configs/m28evk.h b/include/configs/m28evk.h
index dbeb37e..0d4a0a3 100644
--- a/include/configs/m28evk.h
+++ b/include/configs/m28evk.h
@@ -130,6 +130,22 @@
#define CONFIG_SYS_NAND_BASE 0x60000000
#define CONFIG_SYS_NAND_5_ADDR_CYCLE
#define NAND_MAX_CHIPS 8
+
+#define CONFIG_CMD_UBI
+#define CONFIG_CMD_UBIFS
+#define CONFIG_CMD_MTDPARTS
+#define CONFIG_RBTREE
+#define CONFIG_LZO
+#define CONFIG_MTD_DEVICE
+#define CONFIG_MTD_PARTITIONS
+#define MTDIDS_DEFAULT "nand0=gpmi-nand.0"
+#define MTDPARTS_DEFAULT \
+ "mtdparts=gpmi-nand.0:" \
+ "3m(bootloader)ro," \
+ "128k(environment)," \
+ "128k(redundant-environment)," \
+ "4m(kernel)," \
+ "-(filesystem)"
#endif
/*
--
1.7.5.4
More information about the U-Boot
mailing list