aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--target/linux/ath79/config-4.148
-rw-r--r--target/linux/ath79/generic/config-default8
2 files changed, 8 insertions, 8 deletions
diff --git a/target/linux/ath79/config-4.14 b/target/linux/ath79/config-4.14
index 01d259572a..a8349040a1 100644
--- a/target/linux/ath79/config-4.14
+++ b/target/linux/ath79/config-4.14
@@ -25,7 +25,6 @@ CONFIG_ARCH_USE_BUILTIN_BSWAP=y
CONFIG_ARCH_USE_QUEUED_RWLOCKS=y
CONFIG_ARCH_USE_QUEUED_SPINLOCKS=y
CONFIG_ARCH_WANT_IPC_PARSE_VERSION=y
-CONFIG_AT803X_PHY=y
CONFIG_ATH79=y
CONFIG_ATH79_WDT=y
CONFIG_CEVT_R4K=y
@@ -127,7 +126,6 @@ CONFIG_HW_HAS_PCI=y
CONFIG_HZ_PERIODIC=y
CONFIG_IMAGE_CMDLINE_HACK=y
CONFIG_INITRAMFS_SOURCE=""
-CONFIG_IP17XX_PHY=y
CONFIG_IRQCHIP=y
CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_FORCED_THREADING=y
@@ -136,13 +134,11 @@ CONFIG_IRQ_WORK=y
CONFIG_LEDS_GPIO=y
# CONFIG_LEDS_RESET is not set
CONFIG_LIBFDT=y
-CONFIG_MARVELL_PHY=y
CONFIG_MDIO_BITBANG=y
CONFIG_MDIO_BUS=y
CONFIG_MDIO_DEVICE=y
CONFIG_MDIO_GPIO=y
CONFIG_MFD_SYSCON=y
-CONFIG_MICREL_PHY=y
CONFIG_MIPS=y
CONFIG_MIPS_ASID_BITS=8
CONFIG_MIPS_ASID_SHIFT=0
@@ -202,10 +198,6 @@ CONFIG_REGMAP=y
CONFIG_REGMAP_MMIO=y
CONFIG_RESET_ATH79=y
CONFIG_RESET_CONTROLLER=y
-CONFIG_RTL8366RB_PHY=y
-CONFIG_RTL8366S_PHY=y
-CONFIG_RTL8366_SMI=y
-CONFIG_RTL8367_PHY=y
# CONFIG_SCHED_INFO is not set
# CONFIG_SCSI_DMA is not set
# CONFIG_SERIAL_8250_FSL is not set
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