From: Tudor Ambarus Date: Wed, 20 Apr 2022 13:47:40 +0000 (+0300) Subject: ARM: configs: at91: sama7: Enable MTD_UBI_BLOCK X-Git-Tag: howlett/maple/20220722_2~449^2~10^2~4 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=a5f83aacf1c7568c407aa235f3a0bad613aa4aa0;p=users%2Fjedix%2Flinux-maple.git ARM: configs: at91: sama7: Enable MTD_UBI_BLOCK Address read only block filesystems like SquashFS, and use MTD_UBI_BLOCK to benefit of UBI's bit-flip handling and wear-levelling. Signed-off-by: Tudor Ambarus Signed-off-by: Nicolas Ferre Link: https://lore.kernel.org/r/20220420134740.193563-3-tudor.ambarus@microchip.com --- diff --git a/arch/arm/configs/sama7_defconfig b/arch/arm/configs/sama7_defconfig index 3a51e7278884..90a0ac7c268a 100644 --- a/arch/arm/configs/sama7_defconfig +++ b/arch/arm/configs/sama7_defconfig @@ -95,6 +95,7 @@ CONFIG_MTD_NAND_ATMEL=y CONFIG_MTD_SPI_NOR=y CONFIG_MTD_UBI=y CONFIG_MTD_UBI_FASTMAP=y +CONFIG_MTD_UBI_BLOCK=y CONFIG_BLK_DEV_LOOP=y CONFIG_BLK_DEV_RAM=y CONFIG_BLK_DEV_RAM_COUNT=1