aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-07-01 13:18:38 +0000
committerJohn Crispin <john@openwrt.org>2014-07-01 13:18:38 +0000
commit5f31f01853b558742bed17bbdde5373e6fcc1c26 (patch)
treea14f8a3f9ae43378e82fb2daca7e93d3dc707e02
parent9c84f72f8588041e7eb86fba6287af232226013a (diff)
downloadupstream-5f31f01853b558742bed17bbdde5373e6fcc1c26.tar.gz
upstream-5f31f01853b558742bed17bbdde5373e6fcc1c26.tar.bz2
upstream-5f31f01853b558742bed17bbdde5373e6fcc1c26.zip
lantiq: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget
Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget. These drivers are not needed for ASE, Danube and AR9. As side effect PHY11G and PHY22F firmwares are not included in the kernel image, which saves 64 KB. Signed off by: José Vázquez Fernández <ppvazquezfer@gmail.com> Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 41449
-rw-r--r--target/linux/lantiq/config-default2
-rw-r--r--target/linux/lantiq/xrx200/config-default2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/lantiq/config-default b/target/linux/lantiq/config-default
index c8e9d8521f..f6e0eca43e 100644
--- a/target/linux/lantiq/config-default
+++ b/target/linux/lantiq/config-default
@@ -83,9 +83,7 @@ CONFIG_IRQ_DOMAIN=y
CONFIG_IRQ_FORCED_THREADING=y
CONFIG_LANTIQ=y
CONFIG_LANTIQ_ETOP=y
-CONFIG_LANTIQ_PHY=y
CONFIG_LANTIQ_WDT=y
-CONFIG_LANTIQ_XRX200=y
CONFIG_LEDS_GPIO=y
CONFIG_MDIO_BOARDINFO=y
CONFIG_MIPS=y
diff --git a/target/linux/lantiq/xrx200/config-default b/target/linux/lantiq/xrx200/config-default
index 0696aaba58..f72b12f384 100644
--- a/target/linux/lantiq/xrx200/config-default
+++ b/target/linux/lantiq/xrx200/config-default
@@ -15,6 +15,8 @@ CONFIG_INPUT_POLLDEV=y
CONFIG_IRQCHIP=y
CONFIG_IRQ_WORK=y
# CONFIG_ISDN is not set
+CONFIG_LANTIQ_PHY=y
+CONFIG_LANTIQ_XRX200=y
CONFIG_LEDS_TRIGGER_HEARTBEAT=y
CONFIG_LZO_COMPRESS=y
CONFIG_LZO_DECOMPRESS=y