[U-Boot] [PATCH 4/4] armv7: fix relocation skip

Wolfgang Denk wd at denx.de
Thu Dec 9 00:00:28 CET 2010


Dear =?UTF-8?q?Andreas=20Bie=C3=9Fmann?=,

In message <1291161516-21861-5-git-send-email-andreas.devel at 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 <andreas.devel at googlemail.com>
> ---
> 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


More information about the U-Boot mailing list