]> git.sur5r.net Git - u-boot/commitdiff
arm: socfpga: Enable ubi and ubifs support
authorChin Liang See <clsee@altera.com>
Tue, 22 Dec 2015 07:32:26 +0000 (15:32 +0800)
committerMarek Vasut <marex@denx.de>
Tue, 22 Dec 2015 20:16:08 +0000 (21:16 +0100)
When QSPI and NAND is enabled, the ubi and ubifs support
will be enabled too.

Signed-off-by: Chin Liang See <clsee@altera.com>
Cc: Dinh Nguyen <dinguyen@opensource.altera.com>
Cc: Dinh Nguyen <dinh.linux@gmail.com>
Cc: Pavel Machek <pavel@denx.de>
Cc: Marek Vasut <marex@denx.de>
Cc: Stefan Roese <sr@denx.de>
include/configs/socfpga_common.h

index 6655152960d973cf4b0877336ce29b49759f3249..35e4a75c3f93e23a0a99893f27fd348ff5cf7bd1 100644 (file)
@@ -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
  *