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

2008-10-14 Thread Trent Piepho
On Tue, 14 Oct 2008, Wolfgang Denk wrote: > Dear Trent, > > in message <[EMAIL PROTECTED]> 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

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

2008-10-14 Thread Wolfgang Denk
Dear Trent, in message <[EMAIL PROTECTED]> 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

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

2008-10-14 Thread Trent Piepho
On Tue, 14 Oct 2008, Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: >> The boot page and reset vector need to be at the absolute address >> 0xf000 and 0xfffc, respectively, when the CPU boots. > ... >> To handle to both different U-Boot image sizes and flash locations, wha

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

2008-10-14 Thread Wolfgang Denk
Dear Trent Piepho, In message <[EMAIL PROTECTED]> you wrote: > The boot page and reset vector need to be at the absolute address > 0xf000 and 0xfffc, respectively, when the CPU boots. ... > To handle to both different U-Boot image sizes and flash locations, what we > do is take the upper b

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

2008-10-13 Thread Trent Piepho
The boot page and reset vector need to be at the absolute address 0xf000 and 0xfffc, respectively, when the CPU boots. However, their location in the U-Boot image is relative to the address that flash is mapped at. For instance, mpc8572ds maps the 128MB flash boot bank to 0xe800, whic