From: Wolfgang Denk Date: Thu, 09 Dec 2010 00:00:28 +0100 Subject: [U-Boot] [PATCH 4/4] armv7: fix relocation skip In-Reply-To: <1291161516-21861-5-git-send-email-andreas.devel@googlemail.com> References: <1291161516-21861-1-git-send-email-andreas.devel@googlemail.com> <1291161516-21861-5-git-send-email-andreas.devel@googlemail.com> Message-ID: <20101208230028.03417CF5CA6@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 =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=, In message <1291161516-21861-5-git-send-email-andreas.devel@googlemail.com> you wrote: > I doubt the stack_setup() was defective before: > we load the current location of _start and compare against destination > of relocate_code(). If we are already there we shoud skip the > relocation and jump over to clear_bss. Before the clear_bss was also skipped. > > Signed-off-by: Andreas Bie?mann > --- > Dear Albert, > (or whoever works with armv7 currently) > > However I doubt there is another issue when CONFIG_PRELOADER is not set! > Then the bss will never be setup, is that correct? > > arch/arm/cpu/armv7/start.S | 4 ++-- > 1 files changed, 2 insertions(+), 2 deletions(-) Applied, thanks. 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 I have never understood the female capacity to avoid a direct answer to any question. -- Spock, "This Side of Paradise", stardate 3417.3