[U-Boot] [RFC] arm926ejs: fix jump to RAM nand_boot

Wolfgang Denk
2010-11-03T11:27:59Z

Dear "V, Aneesh",

In message <FF55437E1F14DA4BAEB721A458B6701706FD3137F3@dbde02.ent.ti.com> you wrote:
>
> If the preloader loads the u-boot to the location that it is built for
> everything should work fine once bss is initialized, right?

There is no such thing as a "location that it is built for", as the
location in RAM may differ, depending on enabled features - for
example, pRAM size or (shared) frame buffer size may change depending
on environment variable settings. In the result, the location of
U-Boot in RAM shifts. You cannot know the final address at build
time.

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: wd at denx.de
"In matters of principle, stand like a rock; in matters of taste,
swim with the current." - Thomas Jefferson