Dear Albert ARIBAUD, In message <4ce04585....@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: w...@denx.de "A little knowledge is a dangerous thing." - Doug Gwyn _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot