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+renesas@verge.net.au>
Tue, 4 Feb 2014 01:17:56 +0000 (10:17 +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>
arch/arm/mach-shmobile/Kconfig

index 958ccf3..2673f68 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