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

Albert ARIBAUD albert.aribaud at free.fr
Wed Dec 1 07:50:40 CET 2010


Le 01/12/2010 00:58, Andreas Bießmann a écrit :

> 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?

That is correct and had to be fixed indeed. Thanks!

Amicalement,
-- 
Albert.


More information about the U-Boot mailing list