[U-Boot] [RFC] [PATCH] arm: arm926ejs: use ELF relocations

Graeme Russ
2010-10-05T00:01:23Z

On Tue, Oct 5, 2010 at 10:57 AM, John Rigby <john.rigby@linaro.org> wrote:
> On Mon, Oct 4, 2010 at 4:09 PM, Albert ARIBAUD <albert.aribaud@free.fr> wrote:
> ....
>>
>> Remember: this patch only applies to boards which boot from NOR FLASH!
>> You can test it on other types of boards (NAND-based, etc) for
>> regression testing, but nothing more.
>
> Dumb question, how is the case of a NAND SPL, or similar loader
> loading u-boot first to a low RAM address then u-boot relocating
> itself to top of RAM different than u-boot relocating itself from NOR
> to top of RAM?
>

Can NAND SPL initialise and size memory before loading U-Boot into RAM?
If so, could the relocation code be added to NAND SPL so only one copy
operation is performed?

Regards,

Graeme