ARM: shmobile: Lager: conditionally select CONFIG_MICREL_PHY
authorSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Thu, 19 Dec 2013 23:20:54 +0000 (02:20 +0300)
committerSimon Horman <horms@verge.net.au>
Fri, 5 Dec 2014 00:21:53 +0000 (09:21 +0900)
Now that support for KSZ8041RNLI is added to the Micrel PHY driver and we intend
to support PHY IRQs on the Lager board, we have to enable the Micrel driver.
Do this by selecting CONFIG_MICREL_PHY for Lager if CONFIG_SH_ETH is enabled.

Signed-off-by: Sergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit a2a4759b5262979cbe4bc1f681ec5a6ab064fce3)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/Kconfig

index 05fa505..d99a952 100644 (file)
@@ -54,6 +54,7 @@ config MACH_KZM9D
 config MACH_LAGER
        bool "Lager board"
        depends on ARCH_R8A7790
+       select MICREL_PHY if SH_ETH
 
 comment "Renesas ARM SoCs System Configuration"
 endif
@@ -261,6 +262,7 @@ config MACH_LAGER
        bool "Lager board"
        depends on ARCH_R8A7790
        select USE_OF
+       select MICREL_PHY if SH_ETH
 
 config MACH_KOELSCH
        bool "Koelsch board"