From: Wolfgang Denk Date: Sun, 14 Nov 2010 21:44:45 +0100 Subject: [U-Boot] previous two e-mails are RFC/demonstration! In-Reply-To: <4CE04585.807@free.fr> References: <4CE00793.8070501@emk-elektronik.de> <20101114162340.9766714EA7E@gemini.denx.de> <4CE03BA0.7010800@emk-elektronik.de> <4CE04585.807@free.fr> Message-ID: <20101114204445.4531714EA7E@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Albert ARIBAUD, In message <4CE04585.807@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