diff options
author | Gabor Juhos <juhosg@freemail.hu> | 2018-01-09 08:18:14 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2018-01-09 08:34:03 +0100 |
commit | 660ee2d0f0d336a342973b64c03b631651cea5a2 (patch) | |
tree | 37f30fbe0044a87e176d4b681019541f399e1742 /target/linux | |
parent | b386b5727b2403ec50bf9a9bdeff7a9a2f92a90b (diff) | |
download | upstream-660ee2d0f0d336a342973b64c03b631651cea5a2.tar.gz upstream-660ee2d0f0d336a342973b64c03b631651cea5a2.tar.bz2 upstream-660ee2d0f0d336a342973b64c03b631651cea5a2.zip |
ar71xx/mikrotik: disable unused ethernet switch and phy drivers
Disable the drivers for the following ethernet switches:
Realtek RTL8306
Realtek RTL8366/8367
Marvell 88E6060 (DSA)
Marvell 88E6063 (DSA)
Also disable the phy driver for Marvell PHYs.
None of the supported RouterBOARDs are using any device
which needs these drivers.
Disable the DSA framework too, because it is not required
by the remaining switch drivers.
This reduces the compressed kernel size by ~20KB.
Signed-off-by: Gabor Juhos <juhosg@freemail.hu>
Diffstat (limited to 'target/linux')
-rw-r--r-- | target/linux/ar71xx/mikrotik/config-default | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/target/linux/ar71xx/mikrotik/config-default b/target/linux/ar71xx/mikrotik/config-default index 7a2e9186af..815ac60e68 100644 --- a/target/linux/ar71xx/mikrotik/config-default +++ b/target/linux/ar71xx/mikrotik/config-default @@ -220,6 +220,7 @@ CONFIG_GPIO_LATCH=y # CONFIG_INTEL_XWAY_PHY is not set CONFIG_LEDS_RB750=y CONFIG_LZO_DECOMPRESS=y +# CONFIG_MARVELL_PHY is not set # CONFIG_MTD_CFI is not set CONFIG_MTD_CFI_I2=y # CONFIG_MTD_CYBERTAN_PARTS is not set @@ -243,7 +244,10 @@ CONFIG_MTD_UBI_BLOCK=y # CONFIG_MTD_UBI_FASTMAP is not set # CONFIG_MTD_UBI_GLUEBI is not set CONFIG_MTD_UBI_WL_THRESHOLD=4096 +# CONFIG_NET_DSA is not set CONFIG_RLE_DECOMPRESS=y +# CONFIG_RTL8306_PHY is not set +# CONFIG_RTL8366_SMI is not set # CONFIG_SOC_AR913X is not set # CONFIG_SOC_AR933X is not set # CONFIG_SOC_QCA956X is not set |