add phy-handle property for fec_mpc52xx

Olaf Hering olaf at aepfle.de
Thu Jan 10 22:47:12 EST 2008


On Thu, Jan 10, Paul Mackerras wrote:

> Olaf Hering writes:
> 
> > --- a/arch/powerpc/kernel/prom_init.c
> > +++ b/arch/powerpc/kernel/prom_init.c
> > @@ -1487,6 +1487,34 @@ static void __init prom_find_mmu(void)
> >  	else if (strncmp(version, "FirmWorks,3.", 12) == 0) {
> >  		of_workarounds = OF_WA_CLAIM | OF_WA_LONGTRAIL;
> >  		call_prom("interpret", 1, 1, "dev /memory 0 to allow-reclaim");
> > +#ifdef CONFIG_PPC_MPC52xx
> > +	} else if (strcmp(version, "EFIKA5K2") == 0) {
> 
> Why have you added this stuff in prom_find_mmu rather than putting it
> in fixup_device_tree_efika()?

I just looked for a "model" check.



More information about the Linuxppc-dev mailing list