ARM: shmobile: marzen: Conditionally select SMSC_PHY
authorSimon Horman <horms+renesas@verge.net.au>
Tue, 7 Jan 2014 06:23:47 +0000 (15:23 +0900)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 4 Feb 2014 05:28:31 +0000 (14:28 +0900)
The marzen board uses has an SMSC911X ethernet controller which uses an
SMSC phy. Select SMSC_PHY for marzen if SMSC911X is enabled to make use of the
SMSC-specific phy driver rather than relying on the generic phy driver.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Kconfig

index f8005ef62226a68a0ec3bef9c5ce9c2bf675600f..7e3f42bfaf6b682dd358cfddd03754f1d81c9839 100644 (file)
@@ -250,6 +250,7 @@ config MACH_MARZEN
        depends on ARCH_R8A7779
        select ARCH_REQUIRE_GPIOLIB
        select REGULATOR_FIXED_VOLTAGE if REGULATOR
+       select SMSC_PHY if SMSC911X
        select USE_OF
 
 config MACH_MARZEN_REFERENCE
@@ -257,6 +258,7 @@ config MACH_MARZEN_REFERENCE
        depends on ARCH_R8A7779
        select ARCH_REQUIRE_GPIOLIB
        select REGULATOR_FIXED_VOLTAGE if REGULATOR
+       select SMSC_PHY if SMSC911X
        select USE_OF
        ---help---
           Use reference implementation of Marzen board support