mediatek: filogic: use UBI fast map to speed up boot
authorDaniel Golle <daniel@makrotopia.org>
Tue, 18 Oct 2022 18:48:50 +0000 (19:48 +0100)
committerDaniel Golle <daniel@makrotopia.org>
Tue, 18 Oct 2022 19:08:30 +0000 (20:08 +0100)
Use UBI fast map feature to avoid scanning the whole flash on each
boot which takes several seconds.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/mediatek/filogic/config-5.15

index ae82f8a24d9e39bcd2d046d2c486e22034bddb3e..dfd285bfb6c622ddd600aec3076d50bb8ee892ed 100644 (file)
@@ -231,6 +231,7 @@ CONFIG_MTD_SPLIT_FIRMWARE=y
 CONFIG_MTD_SPLIT_FIT_FW=y
 CONFIG_MTD_UBI=y
 CONFIG_MTD_UBI_BEB_LIMIT=20
+CONFIG_MTD_UBI_FASTMAP=y
 CONFIG_MTD_UBI_BLOCK=y
 CONFIG_MTD_UBI_WL_THRESHOLD=4096
 # CONFIG_MTK_CMDQ is not set