Re: [PATCH 1/2] OLPC: Add support for calling into Open Firmware

From: David Woodhouse
Date: Mon Apr 21 2008 - 14:54:55 EST


On Mon, 2008-04-21 at 12:57 -0400, H. Peter Anvin wrote:
> David Woodhouse wrote:
> >
> >> However, until we clean up the promfs stuff, there's no chance of getting
> >> an OFW device tree upstream.
> >
> > I see no reason why we shouldn't be able to create a 'flattened'
> > device-tree during early boot, like the PowerPC kernel does. And use it
> > thereafter, having quiesced OpenFirmware. Haven't we already been
> > working on unifying this between SPARC and PowerPC kernels?
> >
> > I definitely don't think we need to play these tricks to keep
> > OpenFirmware resident while the kernel is running. Take a look at your
> > second patch -- it's _all_ just lookups in the device-tree, and you're
> > inventing a new way to do it instead of using the existing one.
> >
>
> If so, would this apply to OLPC as well?

Yes. The 'second patch' to which I refer is the one which makes OLPC
platform code use the calls in OpenFirmware... all of them gratuitous.

--
dwmw2

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/