[U-Boot] [PATCH v2 5/7] da850evm: add mtdpart and ubi commands with NAND support

Ben Gardiner bengardiner at nanometrics.ca
Thu Oct 14 23:14:32 CEST 2010


This patch enables also the mtdpart, ubi and ubifs commands when NAND support
is enabled.

Signed-off-by: Ben Gardiner<bengardiner at nanometrics.ca>
To: Sudhakar Rajashekhara <sudhakar.raj at ti.com>
Signed-off-by: Ben Gardiner <bengardiner at nanometrics.ca>

---

V2:
 * Rebased to b69b02b92f59330be9d662110e202cfd3503eafa of u-boot-ti/master

---
 include/configs/da850evm.h |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/include/configs/da850evm.h b/include/configs/da850evm.h
index 0320917..91dc0c6 100644
--- a/include/configs/da850evm.h
+++ b/include/configs/da850evm.h
@@ -154,6 +154,14 @@
 #undef CONFIG_CMD_FLASH
 #undef CONFIG_CMD_IMLS
 #define CONFIG_CMD_NAND
+
+#define CONFIG_CMD_MTDPARTS
+#define CONFIG_MTD_DEVICE
+#define CONFIG_MTD_PARTITIONS
+#define CONFIG_LZO
+#define CONFIG_RBTREE
+#define CONFIG_CMD_UBI
+#define CONFIG_CMD_UBIFS
 #endif
 
 #if !defined(CONFIG_USE_NAND) && \
-- 
1.7.0.4



More information about the U-Boot mailing list