ARM: shmobile: armadillo800eva: Conditionally select SMSC_PHY
authorSimon Horman <horms+renesas@verge.net.au>
Tue, 7 Jan 2014 06:55:49 +0000 (15:55 +0900)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:13:43 +0000 (11:13 +0100)
The armadillo800eva board uses has an SH ethernet controller which uses an
SMSC phy. Select SMSC_PHY for koelsch if SH_ETH 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>
(cherry picked from commit 6a517b114d007a35fc264ef16b09db35548f0290)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Kconfig

index 2fbdf53..be7aec0 100644 (file)
@@ -184,6 +184,7 @@ config MACH_ARMADILLO800EVA
        depends on ARCH_R8A7740
        select ARCH_REQUIRE_GPIOLIB
        select REGULATOR_FIXED_VOLTAGE if REGULATOR
+       select SMSC_PHY if SH_ETH
        select SND_SOC_WM8978 if SND_SIMPLE_CARD
        select USE_OF
 
@@ -192,6 +193,7 @@ config MACH_ARMADILLO800EVA_REFERENCE
        depends on ARCH_R8A7740
        select ARCH_REQUIRE_GPIOLIB
        select REGULATOR_FIXED_VOLTAGE if REGULATOR
+       select SMSC_PHY if SH_ETH
        select SND_SOC_WM8978 if SND_SIMPLE_CARD
        select USE_OF
        ---help---