lantiq: Enable LANTIQ_PHY and LANTIQ_XRX200 only in XRX200 subtarget
authorJohn Crispin <john@openwrt.org>
Tue, 1 Jul 2014 13:18:38 +0000 (13:18 +0000)
committerJohn Crispin <john@openwrt.org>
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>
SVN-Revision: 41449

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