[openwrt/openwrt] lantiq: xrx200_legacy: disable unused phy drivers

LEDE Commits lede-commits at lists.infradead.org
Sun Jan 12 08:55:21 PST 2025


hauke pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/517b9c1cdcd357fd84c7f27bd2886f235f3ec946

commit 517b9c1cdcd357fd84c7f27bd2886f235f3ec946
Author: Aleksander Jan Bajkowski <olek2 at wp.pl>
AuthorDate: Sat Jan 11 16:37:47 2025 +0100

    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 <olek2 at wp.pl>
    Link: https://github.com/openwrt/openwrt/pull/17581
    Signed-off-by: Hauke Mehrtens <hauke at hauke-m.de>
---
 target/linux/lantiq/xrx200_legacy/config-6.6 | 3 ---
 1 file changed, 3 deletions(-)

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




More information about the lede-commits mailing list