[U-Boot] [PATCH 1/4] Use absolute addressing for mpc85xx boot page

Trent Piepho tpiepho at freescale.com
Wed Oct 15 01:42:14 CEST 2008


On Tue, 14 Oct 2008, Wolfgang Denk wrote:

> Dear Trent,
>
> in message <Pine.LNX.4.64.0810141319050.3705 at t2.domain.actdsltmp> you wrote:
>>
>> This data doesn't exist in the board config file.  The linker scripts already
>> in effect contain this data.  I have a calculation that uses the flash bank
>> size.  What's there now is the result of a calculation that uses the flash
>> bank size.  Change the flash mapping and the result changes.  The existing
>> scripts depend on the flash mapping just as much as mine does, if not more.
>
> So how do you handle boards where the flash size is unknown at
> compile-time?

You're talking about how the eLBC is programmed.  That has nothing to do with
my patches!

When someone adds code to dynamically program the local bus controller they'll
have to figure out what to do.

Probably the same way the CPU boots, by defaulting to an 8MB flash bank and
then re-programming it later.  Obviously the CPU can't find the size of the
flash bank before it boots!  Using the wrong bank size doesn't actually make
much difference.


More information about the U-Boot mailing list