[U-Boot] [PATCH 2/4] arm: relocate_code(): do not set register useless

Wolfgang Denk wd at denx.de
Wed Dec 8 23:59:25 CET 2010


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

In message <1291161516-21861-3-git-send-email-andreas.devel at googlemail.com> you wrote:
> In case we are still at relocation target address before relocation we
> do not need to load the registers needed for relocation. We should
> instead skip the whole relocation part and jump over to clear_bss
> immediately.
> 
> Signed-off-by: Andreas Bießmann <andreas.devel at googlemail.com>
> ---
>  arch/arm/cpu/arm1136/start.S   |    4 ++--
>  arch/arm/cpu/arm1176/start.S   |    4 ++--
>  arch/arm/cpu/arm720t/start.S   |    4 ++--
>  arch/arm/cpu/arm920t/start.S   |    4 ++--
>  arch/arm/cpu/arm925t/start.S   |    4 ++--
>  arch/arm/cpu/arm926ejs/start.S |    4 ++--
>  arch/arm/cpu/arm946es/start.S  |    4 ++--
>  arch/arm/cpu/arm_intcm/start.S |    4 ++--
>  arch/arm/cpu/armv7/start.S     |    8 ++++----
>  arch/arm/cpu/ixp/start.S       |    4 ++--
>  arch/arm/cpu/lh7a40x/start.S   |    4 ++--
>  arch/arm/cpu/pxa/start.S       |    4 ++--
>  arch/arm/cpu/s3c44b0/start.S   |    4 ++--
>  arch/arm/cpu/sa1100/start.S    |    4 ++--
>  14 files changed, 30 insertions(+), 30 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
"A little knowledge is a dangerous thing."                - Doug Gwyn


More information about the U-Boot mailing list