From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sughosh Ganu Date: Wed, 27 Oct 2010 14:24:26 +0530 Subject: [U-Boot] Most ARM CPU's have buggy clear_bss? In-Reply-To: References: <20101027080111.GA26224@Hardy> Message-ID: <20101027085426.GA1362@Hardy> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de hi, On Wed Oct 27, 2010 at 11:22:17AM +0300, Darius Augulis wrote: > Hi, > > On Wed, Oct 27, 2010 at 11:01 AM, Sughosh Ganu wrote: > > > > ?Not sure which core are you referring to. I checked for arm926ejs, > > ?and we have conditional code inclusion based on the definition of > > ?CONFIG_SYS_ARM_WITHOUT_RELOC. So the start address in both the cases > > ?is determined based on whether relocation is enabled or not. > > The same is at least for arm926ejs, arm1136, arm1176. > As you probably know CONFIG_SYS_ARM_WITHOUT_RELOC support will be > removed soon and I'm talking about code which is under > #ifndef CONFIG_SYS_ARM_WITHOUT_RELOC. Umm. I am not sure i get you here. If CONFIG_SYS_ARM_WITHOUT_RELOC is not defined, it means we have enabled relocation, so all the address calculation should be w.r.t the relocation address. -sughosh