lantiq: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 1 Jul 2014 13:18:38 +0000 (13:18 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Tue, 1 Jul 2014 13:18:38 +0000 (13:18 +0000)
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

target/linux/lantiq/config-default
target/linux/lantiq/xrx200/config-default

index c8e9d85..f6e0eca 100644 (file)
@@ -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
index 0696aab..f72b12f 100644 (file)
@@ -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