aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/mediatek
diff options
context:
space:
mode:
authorDaniel Golle <daniel@makrotopia.org>2022-10-18 19:48:50 +0100
committerDaniel Golle <daniel@makrotopia.org>2022-10-18 20:08:30 +0100
commit51ee5fb274928c17b9dcb170c12e57e44a7661c9 (patch)
treecdebb3d4e4cd68ea684578d5183bdf7221a3d853 /target/linux/mediatek
parentb00640bd062e3f496f349c05218dabf5cafcd8e2 (diff)
downloadupstream-51ee5fb274928c17b9dcb170c12e57e44a7661c9.tar.gz
upstream-51ee5fb274928c17b9dcb170c12e57e44a7661c9.tar.bz2
upstream-51ee5fb274928c17b9dcb170c12e57e44a7661c9.zip
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 <daniel@makrotopia.org>
Diffstat (limited to 'target/linux/mediatek')
-rw-r--r--target/linux/mediatek/filogic/config-5.151
1 files changed, 1 insertions, 0 deletions
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