From: Daniel Golle Date: Tue, 18 Oct 2022 18:48:50 +0000 (+0100) Subject: mediatek: filogic: use UBI fast map to speed up boot X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=51ee5fb274928c17b9dcb170c12e57e44a7661c9;p=openwrt%2Fstaging%2Fneocturne.git mediatek: filogic: use UBI fast map to speed up boot Use UBI fast map feature to avoid scanning the whole flash on each boot which takes several seconds. Signed-off-by: Daniel Golle --- diff --git a/target/linux/mediatek/filogic/config-5.15 b/target/linux/mediatek/filogic/config-5.15 index ae82f8a24d..dfd285bfb6 100644 --- a/target/linux/mediatek/filogic/config-5.15 +++ b/target/linux/mediatek/filogic/config-5.15 @@ -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