From: Wolfgang Denk Date: Fri, 25 Mar 2011 15:12:31 +0100 Subject: [U-Boot] [RFC PATCH] arm: provide a CONFIG flag for disabling relocation In-Reply-To: <1301058732-30898-1-git-send-email-aneesh@ti.com> References: <1301058732-30898-1-git-send-email-aneesh@ti.com> Message-ID: <20110325141231.C3684151F80@gemini.denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Dear Aneesh V, In message <1301058732-30898-1-git-send-email-aneesh@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