[PATCH 17/19] bootwrapper: compatibility layer for old U-Boots (a.k.a. cuImage, cuboot)

Kumar Gala galak at kernel.crashing.org
Thu Mar 15 03:08:57 EST 2007


On Mar 14, 2007, at 10:59 AM, Scott Wood wrote:

> On Wed, Mar 14, 2007 at 03:25:25PM +1100, Paul Mackerras wrote:
>> Hmmm... is ppcboot.h a direct copy of a file from somewhere else
>> (e.g. uboot), or did you construct it?  It has an *awful* lot of
>> ifdefs.  If it is a direct copy from uboot, I can see an argument for
>> keeping it as-is, but if not, I think we can come up with a better  
>> way
>> to structure things.
>
> It's copied from asm-ppc/ppcboot.h, which was presumably copied from
> u-boot/ppcboot at some point.  It's certainly ugly, but changing it  
> would
> break compatibility (thus negating the point of cuImage).

I think David's idea about having a <board>.c file that does stuff  
and knows about what the bd_t should look like for that board makes  
sense.

For example, the majority of 83xx boards don't need cuImage support  
(at least I don't think they do) since they only ever existed in arch/ 
powerpc.

- k



More information about the Linuxppc-dev mailing list