ARM: shmobile: ape6evm: 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@verge.net.au>
Fri, 5 Dec 2014 00:21:56 +0000 (09:21 +0900)
The ape6evm board uses has an SMSC911X ethernet controller which uses an
SMSC phy. Select SMSC_PHY for ape6evm 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>
(cherry picked from commit 9edaca863ea6807aca7bb8aa5c7791f7387f6022)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Kconfig

index 96ebc05..2fbdf53 100644 (file)
@@ -156,11 +156,13 @@ comment "Renesas ARM SoCs Board Type"
 config MACH_APE6EVM
        bool "APE6EVM board"
        depends on ARCH_R8A73A4
+       select SMSC_PHY if SMSC911X
        select USE_OF
 
 config MACH_APE6EVM_REFERENCE
        bool "APE6EVM board - Reference Device Tree Implementation"
        depends on ARCH_R8A73A4
+       select SMSC_PHY if SMSC911X
        select USE_OF
        ---help---
           Use reference implementation of APE6EVM board support