[PATCH 1/6] bootwrapper: arch/powerpc/boot code reorg

Mark A. Greer mgreer at mvista.com
Sat Sep 16 04:01:29 EST 2006


On Fri, Sep 15, 2006 at 08:19:57PM +1000, Paul Mackerras wrote:
> Mark A. Greer writes:
> 
> > Abstract the operations used in the bootwrapper.  The operations
> > have been divided up into platform operations (platform_ops),
> > device tree operations (dt_ops), and console operations (console_ops).
> 
> Is there any particular reason why the call_kernel() method is in the
> dt_ops?  That doesn't seem like a very natural place for it.

No, it doesn't seem natural.

> Is it
> just so the dt_ops can say whether to pass NULL or the prom entry
> point in r5?

Yes.  Whether you pass the NULL or not hinges on whether its flat tree
or not so I made it a dt_op.  What are you thinking?

Mark



More information about the Linuxppc-dev mailing list