aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/lantiq/xway_legacy
diff options
context:
space:
mode:
authorAleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl>2020-06-27 13:41:54 +0200
committerAdrian Schmutzler <freifunk@adrianschmutzler.de>2020-07-26 02:14:38 +0200
commitf8ea7c53fd227a9c21f0ca45a2c3345312ea54b5 (patch)
tree49a5ff8386d191167560d347c943ecba10e7f003 /target/linux/lantiq/xway_legacy
parent739d282c2fc83906c1cd75d01e86fc2ab8dd625c (diff)
downloadupstream-f8ea7c53fd227a9c21f0ca45a2c3345312ea54b5.tar.gz
upstream-f8ea7c53fd227a9c21f0ca45a2c3345312ea54b5.tar.bz2
upstream-f8ea7c53fd227a9c21f0ca45a2c3345312ea54b5.zip
lantiq: xrx200: disable unused switch and phy
xrx200 has a 6 port built-in switch with 2 integrated PHY. None of the xrx200 router uses external switch. Most boards use integrated or Lantiq (Intel) PEF7071 PHY. Only some FritzBox routers use AT803X PHY and VGV7510KW22 use ICPLUS PHY. Other unused PHY drivers may be removed. This patch enables these symbols only on xway and xway_legacy subtargets: - CONFIG_PSB6970_PHY (Driver for PHY in PSB6970 - 7 port FE Switch) - CONFIG_RTL8366RB_PHY (Driver for PHY in RTL8366 - 6 port GE Switch) - CONFIG_RTL8366_SMI (Driver for RTL8366 - 6 port GE Switch) Reduces image size by 7.3kB. Continuation of 58a6f06978f8 (PR: #2983) Signed-off-by: Aleksander Jan Bajkowski <A.Bajkowski@stud.elka.pw.edu.pl> [fix sorting in config files, small fix in commit message] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/lantiq/xway_legacy')
-rw-r--r--target/linux/lantiq/xway_legacy/config-5.43
1 files changed, 3 insertions, 0 deletions
diff --git a/target/linux/lantiq/xway_legacy/config-5.4 b/target/linux/lantiq/xway_legacy/config-5.4
index 2ce37051de..91dbebbe9d 100644
--- a/target/linux/lantiq/xway_legacy/config-5.4
+++ b/target/linux/lantiq/xway_legacy/config-5.4
@@ -22,10 +22,13 @@ CONFIG_PCI=y
# CONFIG_PCIE_LANTIQ is not set
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