arm: socfpga: Enable ubi and ubifs support
PATCH 1/1 arm: socfpga: Enable ubi and ubifs support
When QSPI and NAND is enabled, the ubi and ubifs support will be enabled too.
--- include/configs/socfpga_common.h | 9 +++++++++ 1 file changed, 9 insertions(+)
include/configs/socfpga_common.h +9 -0
@@ -300,6 +300,15 @@ 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 +#undef CONFIG_SPI_FLASH_USE_4K_SECTORS +#endif +/* * SPL *
Signature · 1 line
1.9.2.468.g3f0c02a
PATCH 1/1 arm: socfpga: Enable ubi and ubifs support
Quoted 18 lines · Chin Liang See
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]>--- include/configs/socfpga_common.h | 9 +++++++++ 1 file changed, 9 insertions(+)(quoted diff) +0
-0
b/include/configs/socfpga_common.hindex f7c0eb5..7c50100 100644
include/configs/socfpga_common.h unsigned int cm_get_qspi_controller_clk_hz(void); · line 309
Quoted 10 lines
include/configs/socfpga_common.h +7
-0@@ -300,6 +300,15 @@ 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 +#undef CONFIG_SPI_FLASH_USE_4K_SECTORS
This CONFIG_SPI_FLASH_USE_4K_SECTORS is Kconfig stuff, so it should go into configs/socfpga_* , otherwise this is fine.
include/configs/socfpga_common.h unsigned int cm_get_qspi_controller_clk_hz(void); · line 314
Quoted 5 lines
include/configs/socfpga_common.h +2
-0+#endif +/* * SPL *
Best regards,
Marek Vasut
PATCH 1/1 arm: socfpga: Enable ubi and ubifs support
Quoted 23 lines · Marek Vasut
Quoted 22 lines · Chin Liang See
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]>--- include/configs/socfpga_common.h | 9 +++++++++ 1 file changed, 9 insertions(+)(quoted diff) +0
-0
b/include/configs/socfpga_common.hindex f7c0eb5..7c50100 100644include/configs/socfpga_common.h +0
-0@@ -300,6 +300,15 @@ unsigned intcm_get_qspi_controller_clk_hz (void); "- at 1536k(UBI)\0"#endif
Quoted 12 lines
include/configs/socfpga_common.h unsigned int cm_get_qspi_controller_clk_hz(void); · line 309
Quoted 7 lines
include/configs/socfpga_common.h +7
-0+/* 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 +#undef CONFIG_SPI_FLASH_USE_4K_SECTORSThis
CONFIG_SPI_FLASH_USE_4K_SECTORSisKconfigstuff, so it should go into
configs/socfpga_* , otherwise this is fine.
oh, not aware of that. Ok let me update this.
Thanks
Chin Liang
Quoted 8 lines
Quoted 5 lines
include/configs/socfpga_common.h +2
-0+#endif +/* * SPL *
Best regards,
Marek Vasut