[U-Boot] Most ARM CPU's have buggy clear_bss?

Sughosh Ganu
2010-10-27T08:54:26Z

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 <urwithsughosh@gmail.com> 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