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-adjust for this. > > The bank size here is only used for linking u-boot. The actual u-boot code is > no different that it is now.
How is this expected to work if the flash bank size used to link the u-boot image is different from the real flash bank size present on the board? > In order to boot on mpc85xx, the u-boot image must be linked to locate the > boot page as the last page in the flash bank. There is no way to do this at > run time, it's the boot page. All existing 85xx platforms hard code the > location of the boot page in the u-boot image one way or another. I'm just > changing the linker script to do it in a way where the same script will work > on all 85xx boards. But in the patch you submit you hard-wire certain flash bank sizes into the linker scriopts, don't you? Best regards, Wolfgang Denk -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: [EMAIL PROTECTED] I wish I had a bronze torc for every user who didn't read the manual. - Terry Pratchett, _The Light Fantastic_ _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot