From: Wolfgang Denk Date: Wed, 27 Oct 2010 14:45:27 +0200 Subject: [U-Boot] [PATCH v2] mx51evk: support new relocation scheme In-Reply-To: References: <1288174358-14896-1-git-send-email-shawn.gsc@gmail.com> <20101027114644.DA7CC152451@gemini.denx.de> <20101027122302.6150A152451@gemini.denx.de> Message-ID: <20101027124527.BE0D5152451@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 Shawn Guo, In message you wrote: > > > But the stack pointer will not start at the end of the initial ram > > area, but below the global data area which lies at the end. > > > I thought the manual definition of CONFIG_SYS_INIT_SP_ADDR is the near > term solution, since it will be replaced by automatic calculation. So > I did not put much attention to reflect the layout you want to see. Well, we can only calculate this automatically if all boards us the same layout of the internal RAM area. That's why this is needed. 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 The more we disagree, the more chance there is that at least one of us is right.