From: Aleksander Jan Bajkowski Date: Sat, 11 Jan 2025 15:37:47 +0000 (+0100) Subject: lantiq: xrx200_legacy: disable unused phy drivers X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=517b9c1cdcd357fd84c7f27bd2886f235f3ec946;p=openwrt%2Fstaging%2Fblocktrron.git lantiq: xrx200_legacy: disable unused phy drivers Subtarget xrx200_legacy supports only a few devices. They all use the integrated Lantiq GSWIP switch and lantiq xway PHYs. The atheros and icplus PHYs can be safely disabled. Switches used by individual devices are listed below. Device Switch PHY Alpha ASL56026 Lantiq GSWIP int. switch Arcadyan VG3503J Lantiq GSWIP int. switch Netgear DM200 Lantiq GSWIP int. switch TP-LINK TD-W8970 Lantiq GSWIP Lantiq PEF7071V TP-Link TD-W8980 Lantiq GSWIP Lantiq PEF7071V Reduces uncompressed kernel size by 16 kB. Signed-off-by: Aleksander Jan Bajkowski Link: https://github.com/openwrt/openwrt/pull/17581 Signed-off-by: Hauke Mehrtens --- diff --git a/target/linux/lantiq/xrx200_legacy/config-6.6 b/target/linux/lantiq/xrx200_legacy/config-6.6 index 166a2cde06..9bb65cff07 100644 --- a/target/linux/lantiq/xrx200_legacy/config-6.6 +++ b/target/linux/lantiq/xrx200_legacy/config-6.6 @@ -1,4 +1,3 @@ -CONFIG_AT803X_PHY=y CONFIG_BLK_MQ_PCI=y CONFIG_CONTEXT_TRACKING=y CONFIG_CONTEXT_TRACKING_IDLE=y @@ -16,7 +15,6 @@ CONFIG_GENERIC_IRQ_EFFECTIVE_AFF_MASK=y CONFIG_GRO_CELLS=y CONFIG_HWMON=y CONFIG_HW_RANDOM=y -CONFIG_ICPLUS_PHY=y CONFIG_IFX_VPE_EXT=y CONFIG_INPUT=y CONFIG_INPUT_EVDEV=y @@ -57,7 +55,6 @@ CONFIG_PHY_LANTIQ_VRX200_PCIE=y CONFIG_POWER_RESET_GPIO=y CONFIG_POWER_SUPPLY=y CONFIG_POWER_SUPPLY_HWMON=y -CONFIG_QCOM_NET_PHYLIB=y CONFIG_QUEUED_RWLOCKS=y CONFIG_QUEUED_SPINLOCKS=y CONFIG_REGULATOR=y