mpc5200 and fsl_soc.c

Jon Smirl jonsmirl at gmail.com
Wed Jul 16 12:25:06 EST 2008


Now that the i2c code in fsl_soc.c has migrated, I tried building my
mpc5200 system without including fsl_soc.c and everything built
without problem. Is there anything else in this file necessary for a
mpc5200 build? Some option I don't have turned on in my build?

I've noticed that several of the functions in this file aren't
properly ifdef'd. For example I think the gianfar driver is getting
built into mpc5200 kernels. Dropping the whole file from mpc5200
builds avoids the need to sort out the ifdef's.

diff --git a/arch/powerpc/platforms/52xx/Kconfig
b/arch/powerpc/platforms/52xx/Kconfig
index e91a0d2..76a3411 100644
--- a/arch/powerpc/platforms/52xx/Kconfig
+++ b/arch/powerpc/platforms/52xx/Kconfig
@@ -1,7 +1,6 @@
 config PPC_MPC52xx
        bool "52xx-based boards"
        depends on PPC_MULTIPLATFORM && PPC32
-       select FSL_SOC
        select PPC_CLOCK


-- 
Jon Smirl
jonsmirl at gmail.com



More information about the Linuxppc-dev mailing list