ARM: shmobile: kzm9d: Conditionally select SMSC_PHY
authorSimon Horman <horms+renesas@verge.net.au>
Tue, 7 Jan 2014 06:23:47 +0000 (15:23 +0900)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:13:49 +0000 (11:13 +0100)
The kzm9d board uses has an SMSC911X ethernet controller which uses an
SMSC phy. Select SMSC_PHY for kzm9d if SMSC911X is enabled to make use of the
SMSC-specific phy driver rather than relying on the generic phy driver.

This only covers the case of multiplatform kzm9d
as there is currently no Kconfig node for non-multiplatform kzm9d.
One could be added if desired.

Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit 682100f59c0051e2b6f5af294da79df2419db157)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Kconfig

index 055b0b8..b4a42e5 100644 (file)
@@ -51,6 +51,7 @@ config MACH_KZM9D
        bool "KZM9D board"
        depends on ARCH_EMEV2
        select REGULATOR_FIXED_VOLTAGE if REGULATOR
+       select SMSC_PHY if SMSC911X
 
 config MACH_LAGER
        bool "Lager board"