Re: [PATCH] [POWERPC] 85xx: Add basic Uniprocessor MPC8572 DS port

Olof Johansson
2007-09-11T17:32:15Z

On Tue, Sep 11, 2007 at 12:21:30PM -0500, Scott Wood wrote:
> Olof Johansson wrote:
> > On Tue, Sep 11, 2007 at 11:00:28AM -0500, Kumar Gala wrote:
> >> well the ifdefs are orthogonal. We don't have a way of knowing
> >> primary from the device tree today.
> >
> > How about something like "fsl,primary-phb" in the bus device node? I don't
> > know, maybe it's already been discussed and turned down for some reason.
>
> It's more of a Linux issue than anything to do with the hardware.

That doesn't stop firmware from telling linux which bus is the primary
one on the system to help out.

> > Or would it be sufficient to check children of that device node to see
> > if the ULi is on that bus?
>
> Or more generally, see if an isa node is somewhere in that subtree.

-Olof