aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ath79/generic
diff options
context:
space:
mode:
authorLucian Cristian <lucian.cristian@gmail.com>2018-06-28 00:55:36 +0300
committerMathias Kresin <dev@kresin.me>2018-07-07 21:07:40 +0200
commit2d268c07108f3d53e0295a89ee34a87b26f4e829 (patch)
tree3b620de235311389f5fa24b9dc284fc962947208 /target/linux/ath79/generic
parent80e3a16fda096ecb3e66c9def0ab6e864ea49046 (diff)
downloadupstream-2d268c07108f3d53e0295a89ee34a87b26f4e829.tar.gz
upstream-2d268c07108f3d53e0295a89ee34a87b26f4e829.tar.bz2
upstream-2d268c07108f3d53e0295a89ee34a87b26f4e829.zip
ath79: disable unused drivers for tiny target
Shrink the tiny kernel by moving all switch and ethernet phy drivers to the generic kernel config instead of the target kernel config. All boards in the tiny and nand target are either ar7240 or ar9331 based, which don't support external xMII and therefore no external ethernet phy can be connected. None of the boards uses a realtek switch either. Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
Diffstat (limited to 'target/linux/ath79/generic')
-rw-r--r--target/linux/ath79/generic/config-default8
1 files changed, 8 insertions, 0 deletions
diff --git a/target/linux/ath79/generic/config-default b/target/linux/ath79/generic/config-default
index c174c4e126..a7d0d89aa9 100644
--- a/target/linux/ath79/generic/config-default
+++ b/target/linux/ath79/generic/config-default
@@ -1,6 +1,10 @@
+CONFIG_AT803X_PHY=y
CONFIG_BLK_MQ_PCI=y
CONFIG_INTEL_XWAY_PHY=y
+CONFIG_IP17XX_PHY=y
CONFIG_LEDS_RESET=y
+CONFIG_MARVELL_PHY=y
+CONFIG_MICREL_PHY=y
CONFIG_MTD_SPLIT_EVA_FW=y
CONFIG_OF_ADDRESS_PCI=y
CONFIG_OF_PCI=y
@@ -14,3 +18,7 @@ CONFIG_PHY_AR7100_USB=y
CONFIG_PHY_AR7200_USB=y
CONFIG_REGULATOR=y
CONFIG_REGULATOR_FIXED_VOLTAGE=y
+CONFIG_RTL8366RB_PHY=y
+CONFIG_RTL8366S_PHY=y
+CONFIG_RTL8366_SMI=y
+CONFIG_RTL8367_PHY=y