[openwrt/openwrt] lantiq: xway_legacy: disable unused switches

LEDE Commits lede-commits at lists.infradead.org
Tue Nov 30 13:30:18 PST 2021


chunkeey pushed a commit to openwrt/openwrt.git, branch master:
https://git.openwrt.org/56246f2910ff78ee287d0425d8bfa8ed57a7ba58

commit 56246f2910ff78ee287d0425d8bfa8ed57a7ba58
Author: Aleksander Jan Bajkowski <olek2 at wp.pl>
AuthorDate: Fri Nov 5 20:28:07 2021 +0100

    lantiq: xway_legacy: disable unused switches
    
    The xway_legacy subtarget only supports 5 devices. Most compiled
    switch drivers are unused by any of these devices. The same drivers
    are compiled into the xway subtarget. They were probably copied
    from there when creating this subtarget.
    
    Switches used by devices:
    Arcadyan ARV4518PWR01   Realtek RTL8306SD
    Arcadyan ARV4518PWR01A  Realtek RTL8306SD
    Arcadyan ARV4520PW      Infineon ADM6996I
    Arcadyan ARV4525PW      only PHY(IC+ IP101A)
    Arcadyan ARV452CQW      Realtek RTL8306
    
    The CONFIG_ETHERNET_PACKET_MANGLE symbol has also been disabled,
    as it is only needed by the driver for AR8216.
    
    Reduces kernel size by 19.9 kB.
    
    Signed-off-by: Aleksander Jan Bajkowski <olek2 at wp.pl>
---
 target/linux/lantiq/xway_legacy/config-5.10 | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/target/linux/lantiq/xway_legacy/config-5.10 b/target/linux/lantiq/xway_legacy/config-5.10
index 611663535b..c177d2a935 100644
--- a/target/linux/lantiq/xway_legacy/config-5.10
+++ b/target/linux/lantiq/xway_legacy/config-5.10
@@ -1,12 +1,10 @@
 CONFIG_ADM6996_PHY=y
-CONFIG_AR8216_PHY=y
 CONFIG_BLK_MQ_PCI=y
 CONFIG_CPU_HAS_DIEI=y
 CONFIG_CRC16=y
 CONFIG_CRYPTO_ACOMP2=y
 CONFIG_CRYPTO_DEFLATE=y
 CONFIG_CRYPTO_LZO=y
-CONFIG_ETHERNET_PACKET_MANGLE=y
 CONFIG_GENERIC_ALLOCATOR=y
 # CONFIG_GPIO_SYSFS is not set
 CONFIG_INPUT=y
@@ -21,15 +19,9 @@ CONFIG_NLS=y
 CONFIG_PCI=y
 CONFIG_PCI_DOMAINS=y
 CONFIG_PCI_LANTIQ=y
-CONFIG_PSB6970_PHY=y
 CONFIG_REGULATOR=y
 CONFIG_REGULATOR_FIXED_VOLTAGE=y
 CONFIG_RTL8306_PHY=y
-CONFIG_RTL8366RB_PHY=y
-CONFIG_RTL8366S_PHY=y
-CONFIG_RTL8366_SMI=y
-CONFIG_RTL8367B_PHY=y
-CONFIG_RTL8367_PHY=y
 CONFIG_SGL_ALLOC=y
 CONFIG_SOC_TYPE_XWAY=y
 CONFIG_SOC_XWAY=y



More information about the lede-commits mailing list