public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH v2 1/5] arm: socfpga: Enable ubi and ubifs support
@ 2015-12-22  0:59 Chin Liang See
  2015-12-22  0:59 ` [U-Boot] [PATCH v2 2/5] arm: socfpga: cyclone5: Undefine CONFIG_SPI_FLASH_USE_4K_SECTORS Chin Liang See
                   ` (4 more replies)
  0 siblings, 5 replies; 14+ messages in thread
From: Chin Liang See @ 2015-12-22  0:59 UTC (permalink / raw)
  To: u-boot

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>
---
Changes for v2
- move CONFIG_SPI_FLASH_USE_4K_SECTORS to Kconfig
---
 include/configs/socfpga_common.h | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/include/configs/socfpga_common.h b/include/configs/socfpga_common.h
index f7c0eb5..dfc3ed5 100644
--- a/include/configs/socfpga_common.h
+++ b/include/configs/socfpga_common.h
@@ -300,6 +300,14 @@ unsigned int cm_get_qspi_controller_clk_hz(void);
 				"- at 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
  *
-- 
1.9.2.468.g3f0c02a

^ permalink raw reply related	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2015-12-23 23:11 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-22  0:59 [U-Boot] [PATCH v2 1/5] arm: socfpga: Enable ubi and ubifs support Chin Liang See
2015-12-22  0:59 ` [U-Boot] [PATCH v2 2/5] arm: socfpga: cyclone5: Undefine CONFIG_SPI_FLASH_USE_4K_SECTORS Chin Liang See
2015-12-22  1:15   ` Marek Vasut
2015-12-22  1:55     ` Chin Liang See
2015-12-22  2:09       ` Marek Vasut
2015-12-22  2:26         ` Chin Liang See
2015-12-22  6:07         ` Stefan Roese
2015-12-22  6:34           ` Chin Liang See
2015-12-23 18:13   ` Pavel Machek
2015-12-23 23:11     ` Chin Liang See
2015-12-22  0:59 ` [U-Boot] [PATCH v2 3/5] arm: socfpga: cyclone5_socdk: Enable ubiload console command Chin Liang See
2015-12-22  0:59 ` [U-Boot] [PATCH v2 4/5] arm: socfpga: cyclone5_socdk: Enable qspiload " Chin Liang See
2015-12-22  0:59 ` [U-Boot] [PATCH v2 5/5] arm: socfpga: cyclone5_socdk: Update qspiboot to use UBIFS Chin Liang See
2015-12-22  1:17 ` [U-Boot] [PATCH v2 1/5] arm: socfpga: Enable ubi and ubifs support Marek Vasut

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox