diff mbox

[U-Boot,v3,11/16] colibri_t20: enable ubi/ubifs support

Message ID b25e62c2c8e7f56beb1fbc44ca3a2e3a05082cd8.1438813726.git.marcel.ziswiler@toradex.com
State Accepted
Delegated to: Tom Warren
Headers show

Commit Message

Marcel Ziswiler Aug. 5, 2015, 10:47 p.m. UTC
From: Marcel Ziswiler <marcel.ziswiler@toradex.com>

Now as all is in place actually enable UBI/UBIFS support to be able to
boot the Linux kernel and root file system from NAND.

Signed-off-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Acked-by: Stephen Warren <swarren@nvidia.com>
---
 include/configs/colibri_t20.h | 8 ++++++++
 1 file changed, 8 insertions(+)
diff mbox

Patch

diff --git a/include/configs/colibri_t20.h b/include/configs/colibri_t20.h
index 7c16e7b..b7ed63f 100644
--- a/include/configs/colibri_t20.h
+++ b/include/configs/colibri_t20.h
@@ -80,6 +80,14 @@ 
 #undef  CONFIG_ENV_SIZE /* undef size from tegra20-common.h */
 #define CONFIG_ENV_SIZE                (SZ_64K)
 
+/* UBI */
+#define CONFIG_CMD_BOOTZ
+#define CONFIG_CMD_UBI
+#define CONFIG_CMD_UBIFS	/* increases size by almost 60 KB */
+#define CONFIG_LZO
+#define CONFIG_MTD_UBI_FASTMAP
+#define CONFIG_RBTREE
+
 /* Debug commands */
 #define CONFIG_CMD_CACHE