From: Daniel Golle Date: Wed, 19 Oct 2022 17:08:09 +0000 (+0100) Subject: mediatek: mt7622: kernel config fixes X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=a97991fbeb22172e8640a72a73afac41ac463e22;p=openwrt%2Fstaging%2Fnbd.git mediatek: mt7622: kernel config fixes * remove orphaned Kconfig symbol now that CONFIG_IIO is no longer selected after commit ef8b935c95 ("mediatek: clean up mt7622 kernel config") * select UBI fast-map feature to decrease boot time and keep the number of spare blocks required in sync with U-Boot's expectations (we got fast-map enabled in U-Boot) Signed-off-by: Daniel Golle --- diff --git a/target/linux/mediatek/mt7622/config-5.15 b/target/linux/mediatek/mt7622/config-5.15 index de44c1360c..6aa4d75dc2 100644 --- a/target/linux/mediatek/mt7622/config-5.15 +++ b/target/linux/mediatek/mt7622/config-5.15 @@ -230,7 +230,6 @@ CONFIG_MDIO_BUS=y CONFIG_MDIO_DEVICE=y CONFIG_MDIO_DEVRES=y CONFIG_MEDIATEK_GE_PHY=y -CONFIG_MEDIATEK_MT6577_AUXADC=y CONFIG_MEDIATEK_WATCHDOG=y CONFIG_MEMFD_CREATE=y CONFIG_MESSAGE_LOGLEVEL_DEFAULT=7 @@ -257,6 +256,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