public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] arm1136 relocation: Fix calculation of board_init_r
@ 2011-02-18  0:27 Fabio Estevam
  2011-02-18  7:55 ` Albert ARIBAUD
  0 siblings, 1 reply; 2+ messages in thread
From: Fabio Estevam @ 2011-02-18  0:27 UTC (permalink / raw)
  To: u-boot

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
---
 arch/arm/cpu/arm1136/start.S |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/arch/arm/cpu/arm1136/start.S b/arch/arm/cpu/arm1136/start.S
index bab2868..a05d36d 100644
--- a/arch/arm/cpu/arm1136/start.S
+++ b/arch/arm/cpu/arm1136/start.S
@@ -266,7 +266,7 @@ _nand_boot_ofs:
 #else
 jump_2_ram:
 	ldr	r0, _board_init_r_ofs
-	adr	r1, _start
+	ldr     r1, _TEXT_BASE
 	add	lr, r0, r1
 	add	lr, lr, r9
 	/* setup parameters for board_init_r */
-- 
1.6.0.4

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [U-Boot] [PATCH] arm1136 relocation: Fix calculation of board_init_r
  2011-02-18  0:27 [U-Boot] [PATCH] arm1136 relocation: Fix calculation of board_init_r Fabio Estevam
@ 2011-02-18  7:55 ` Albert ARIBAUD
  0 siblings, 0 replies; 2+ messages in thread
From: Albert ARIBAUD @ 2011-02-18  7:55 UTC (permalink / raw)
  To: u-boot

Le 18/02/2011 01:27, Fabio Estevam a ?crit :
> Signed-off-by: Fabio Estevam<fabio.estevam@freescale.com>
> ---
>   arch/arm/cpu/arm1136/start.S |    2 +-
>   1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/arch/arm/cpu/arm1136/start.S b/arch/arm/cpu/arm1136/start.S
> index bab2868..a05d36d 100644
> --- a/arch/arm/cpu/arm1136/start.S
> +++ b/arch/arm/cpu/arm1136/start.S
> @@ -266,7 +266,7 @@ _nand_boot_ofs:
>   #else
>   jump_2_ram:
>   	ldr	r0, _board_init_r_ofs
> -	adr	r1, _start
> +	ldr     r1, _TEXT_BASE
>   	add	lr, r0, r1
>   	add	lr, lr, r9
>   	/* setup parameters for board_init_r */

Applied, thanks.

Amicalement,
-- 
Albert.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-02-18  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-18  0:27 [U-Boot] [PATCH] arm1136 relocation: Fix calculation of board_init_r Fabio Estevam
2011-02-18  7:55 ` Albert ARIBAUD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox