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

Ben Gardiner bengardiner at nanometrics.ca
Tue Oct 12 18:58:02 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>

---

 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 c96d45a..49dfc06 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