]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[POWERPC] 85xx: MPC85xx MDS - Unconditionally select PHYLIB for board fixups
authorKumar Gala <galak@kernel.crashing.org>
Tue, 3 Jun 2008 18:36:19 +0000 (13:36 -0500)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 9 Jun 2008 13:45:07 +0000 (08:45 -0500)
The MPC85xx MDS board requires some board level tweaks of the PHYs that
either the eTSEC (gianfar) or UCC ethernet controllers are connected to.

Its possible to build the phylib as a module, however this breaks the
board level fix ups because phy_read and phy_write are not available
if we build as a module.

So we unconditionally select PHYLIB to ensure its built into the kernel
if we are building in MPC85xx MDS support.  This was determined to be
the easiest soultion even though it prevents the user from removing
PHYLIB support if they decide they don't want it.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
arch/powerpc/platforms/85xx/Kconfig

index 7ff29d53dc2d92cb959871f9c7b33aa51791c6e0..ecbe580c3f32f056152186a1c292bfc370215a95 100644 (file)
@@ -34,6 +34,7 @@ config MPC85xx_MDS
        bool "Freescale MPC85xx MDS"
        select DEFAULT_UIMAGE
        select QUICC_ENGINE
+       select PHYLIB
        help
          This option enables support for the MPC85xx MDS board