[PATCH 3/6] bootwrapper: Add device tree ops for flattened device tree
Tom Rini
trini at kernel.crashing.org
Thu Aug 3 03:23:11 EST 2006
On Wed, Aug 02, 2006 at 10:05:14AM -0700, Mark A. Greer wrote:
> On Wed, Aug 02, 2006 at 09:10:54AM -0700, Tom Rini wrote:
> > On Wed, Jul 19, 2006 at 04:05:44PM -0700, Mark A. Greer wrote:
> >
> > > This patch adds the device tree operations (dt_ops) for a flattened
> > > device tree (fdt).
> > [snip]
> > > +/* Definitions used by the flattened device tree */
> > [snip]
> > ...
> > > +struct fdt_bus {
> > > + u64 (*map)(u32 *addr, u32 *range, int na, int ns, int pna);
> > > + int (*translate)(u32 *addr, u64 offset, int na);
> > > +};
> >
> > All of that should live in an fdt.h.
>
> Why? Its never used outside of fdt.c and therefore should not be in
> fdt.h.
Meh, I'll drop it then..
--
Tom Rini
More information about the Linuxppc-dev
mailing list