[U-Boot] [RFC PATCH] arm: provide a CONFIG flag for disabling relocation
Wolfgang Denk
wd at denx.de
Fri Mar 25 15:12:31 CET 2011
Dear Aneesh V,
In message <1301058732-30898-1-git-send-email-aneesh at ti.com> you wrote:
> Relocation may not be needed and desirable in many cases:
> * For many boards the amount of SDRAM is fixed.
> So relocation is not needed.
This is plain wrong. This has been explained a couple of times
before. Please read the archives.
> * Relocation adds un-necessary additional overhead when
> it's not needed. This delay is singificant on slower
> platforms such as FPGA
Do you have numbers? How much delay do you see caused by the
relocation of U-Boot?
> * Many boards have ample memory. So reserving enough memory
> for Linux in the first half is not a challenge even without
> relocation
You appear not to understand what relocation is needed for.
I tend to reject your patch, unless you can come up with really
convincing arguments. Also, your patch should then work for all
boards - not only ARM, but also PowerPC (one of the arguments for
relocation was that we want to unify the code).
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
"Beware of bugs in the above code; I have only proved it correct, not
tried it." - Donald Knuth
More information about the U-Boot
mailing list