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

Wolfgang Denk
2010-10-05T05:34:34Z

Dear Graeme Russ,

In message <AANLkTikqE0_DEqHs-tX3A4XuEXJhM0CYW_+j6izhmktw@mail.gmail.com> you wrote:
>
> Can NAND SPL initialise and size memory before loading U-Boot into RAM?

It has to. You cannot load into and run from uninitialized RAM ;-)

> If so, could the relocation code be added to NAND SPL so only one copy
> operation is performed?

I'm afraid it cannot, due to size limitations. The NAND loader often
hast to fit into as little a 2 or 4 KiB...

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
"Language shapes the way we think, and determines what we can think
about." - B. L. Whorf