summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorChin Liang See <[email protected]>2015-12-22 15:32:26 +0800
committerMarek Vasut <[email protected]>2015-12-22 21:16:08 +0100
commit6cdd465cbe884d51f566ac5f7f06cc2a82d5a18b (patch)
treeb9123ba8068c90ccc9be6a3210150d78e2cc8755 /include
parent574967c241301b924748ce205f29f494e32967fe (diff)
arm: socfpga: Enable ubi and ubifs support
When QSPI and NAND is enabled, the ubi and ubifs support will be enabled too. Signed-off-by: Chin Liang See <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Dinh Nguyen <[email protected]> Cc: Pavel Machek <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Stefan Roese <[email protected]>
Diffstat (limited to 'include')
-rw-r--r--include/configs/socfpga_common.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index 6655152960d..35e4a75c3f9 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -299,6 +299,14 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
"-@1536k(UBI)\0"
#endif
+/* UBI and UBIFS support */
+#if defined(CONFIG_CMD_SF) || defined(CONFIG_CMD_NAND)
+#define CONFIG_CMD_UBI
+#define CONFIG_CMD_UBIFS
+#define CONFIG_RBTREE
+#define CONFIG_LZO
+#endif
+
/*
* SPL
*