aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-07-01 13:18:38 +0000
committerJohn Crispin <blogic@openwrt.org>2014-07-01 13:18:38 +0000
commitaa6b558b130b73d810836cea52277a5e9d59ec03 (patch)
tree4fe3b48373808be599949228a0294824ff10126c
parent127563a4b388a7c735bda0a480a6d44eb0d16b9d (diff)
downloadmaster-187ad058-aa6b558b130b73d810836cea52277a5e9d59ec03.tar.gz
master-187ad058-aa6b558b130b73d810836cea52277a5e9d59ec03.tar.bz2
master-187ad058-aa6b558b130b73d810836cea52277a5e9d59ec03.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@41449 3c298f89-4303-0410-b956-a3cf2f4a3e73
-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