]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
ARM: configs: at91: sama7: Enable MTD_UBI_BLOCK
authorTudor Ambarus <tudor.ambarus@microchip.com>
Wed, 20 Apr 2022 13:47:40 +0000 (16:47 +0300)
committerNicolas Ferre <nicolas.ferre@microchip.com>
Fri, 6 May 2022 07:41:56 +0000 (09:41 +0200)
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 <tudor.ambarus@microchip.com>
Signed-off-by: Nicolas Ferre <nicolas.ferre@microchip.com>
Link: https://lore.kernel.org/r/20220420134740.193563-3-tudor.ambarus@microchip.com
arch/arm/configs/sama7_defconfig

index 3a51e727888474422c3886c5921d3312e1bcfcd9..90a0ac7c268aff5474e6865ed89e0a9bd26765e9 100644 (file)
@@ -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