Re: [U-Boot] [PATCH 0/4] Convert MPC85xx platforms to a single linker script

2008-10-14 Thread Trent Piepho
On Wed, 15 Oct 2008, Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: >> >> All the mpc85xx platforms hard code the size of the flash via the local bus > > No, they don't. Name one that doesn't. >> controller settings. For example, if you look in include/configs/MPC8572DS.h >> yo

Re: [U-Boot] [PATCH 0/4] Convert MPC85xx platforms to a single linker script

2008-10-14 Thread Wolfgang Denk
Dear Trent, In message <[EMAIL PROTECTED]> you wrote: > > All the mpc85xx platforms hard code the size of the flash via the local bus No, they don't. > controller settings. For example, if you look in include/configs/MPC8572DS.h > you will find these lines: > > #define CFG_BR0_PRELIM

Re: [U-Boot] [PATCH 0/4] Convert MPC85xx platforms to a single linker script

2008-10-14 Thread Trent Piepho
On Tue, 14 Oct 2008, Wolfgang Denk wrote: > In message <[EMAIL PROTECTED]> you wrote: >>> U-Boot should *never* assume static flash bank sizes. The whole >>> design is based on the idea to automatically determine the actual >>> size of flash and RAM that is fit on a specific board,

Re: [U-Boot] [PATCH 0/4] Convert MPC85xx platforms to a single linker script

2008-10-14 Thread Wolfgang Denk
Dear Trent Piepho, In message <[EMAIL PROTECTED]> you wrote: > > > U-Boot should *never* assume static flash bank sizes. The whole > > design is based on the idea to automatically determine the actual > > size of flash and RAM that is fit on a specific board, and to > > auto-adju

Re: [U-Boot] [PATCH 0/4] Convert MPC85xx platforms to a single linker script

2008-10-13 Thread Trent Piepho
On Tue, 14 Oct 2008, Wolfgang Denk wrote: > Dear Trent, > > In message <[EMAIL PROTECTED]> you wrote: >> >> At this point all the mpc85xx linker scripts are exactly the same, except for >> one line that defines the flash bank size, so they are combined into one >> script in cpu/mpc85xx/u-boot.lds.

Re: [U-Boot] [PATCH 0/4] Convert MPC85xx platforms to a single linker script

2008-10-13 Thread Wolfgang Denk
Dear Trent, In message <[EMAIL PROTECTED]> you wrote: > > At this point all the mpc85xx linker scripts are exactly the same, except for > one line that defines the flash bank size, so they are combined into one > script in cpu/mpc85xx/u-boot.lds. A common flash bank size that will work for > all

[U-Boot] [PATCH 0/4] Convert MPC85xx platforms to a single linker script

2008-10-13 Thread Trent Piepho
This patch series does $SUBJ. The first patch changes the way the existing linker scripts locate the boot page, reset vector, and bss section. This method works for any size of u-boot image (the previous one didn't work images that weren't 512K) and any location flash is mapped to. At this point