[U-Boot] previous two e-mails are RFC/demonstration!

Wolfgang Denk wd at denx.de
Sun Nov 14 21:44:45 CET 2010


Dear Albert ARIBAUD,

In message <4CE04585.807 at free.fr> you wrote:
> 
> Currently start.S sets the stack twice, once before calling 
> board_init_f, and once in relocate_code. Are you suggesting we remove 
> the second sp setting?

As relocation can move the stack to some completely different location
the SP has to be re-initialized (in this setup, after copying the
global data to their new location).

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
"A little knowledge is a dangerous thing."                - Doug Gwyn


More information about the U-Boot mailing list