[U-Boot] [RFC PATCH] arm: provide a CONFIG flag for disabling relocation

Andreas Bießmann andreas.devel at googlemail.com
Wed Sep 21 13:20:39 CEST 2011


Dear "GROYER, Anthony",
Dear Albert,

Am Mi 21 Sep 2011 12:51:33 CEST schrieb Albert ARIBAUD:
> Le 21/09/2011 11:29, GROYER, Anthony a écrit :
>

<snip>

> 3) replace use of r9-r10 with e.g. r10-r11 in the copy loop, to preserve 
> r9 during relocation.

If one is changing this place I would like to discuss another point here.
In my last changeset for relocation I found some implementation in
a/a/c/pxa/start.S which do save the register to stack before copy_loop,
use almost all registers (only r8 is not used which is gd_t for arm, but
I think it could be used here too cause it is saved on the stack) and
save the registers back later on.
I guess this could fasten the copy_loop a bit but needs to be proven.
Anthony, if you change all start.S could you consider this also?

best regards

Andreas Bießmann




More information about the U-Boot mailing list