From: Wolfgang Denk Date: Wed, 08 Dec 2010 23:59:25 +0100 Subject: [U-Boot] [PATCH 2/4] arm: relocate_code(): do not set register useless In-Reply-To: <1291161516-21861-3-git-send-email-andreas.devel@googlemail.com> References: <1291161516-21861-1-git-send-email-andreas.devel@googlemail.com> <1291161516-21861-3-git-send-email-andreas.devel@googlemail.com> Message-ID: <20101208225925.D8B74CF5CA6@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-3-git-send-email-andreas.devel@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 > --- > 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