public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] [PATCH] Revert "ARM: move interrupt_init to before relocation"
@ 2013-11-08 21:37 Albert ARIBAUD
  2013-12-11 20:28 ` Albert ARIBAUD
  0 siblings, 1 reply; 2+ messages in thread
From: Albert ARIBAUD @ 2013-11-08 21:37 UTC (permalink / raw)
  To: u-boot

Revert commit 0f5141e9 which causes boards starting in
FLASH to try and write to a FLASH location.

Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
---
 arch/arm/lib/board.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
index 34f50b0..9c72a53 100644
--- a/arch/arm/lib/board.c
+++ b/arch/arm/lib/board.c
@@ -435,7 +435,6 @@ void board_init_f(ulong bootflag)
 	addr_sp += 128;	/* leave 32 words for abort-stack   */
 	gd->irq_sp = addr_sp;
 #endif
-	interrupt_init();
 
 	debug("New Stack Pointer is: %08lx\n", addr_sp);
 
@@ -637,6 +636,8 @@ void board_init_r(gd_t *id, ulong dest_addr)
 	misc_init_r();
 #endif
 
+	 /* set up exceptions */
+	interrupt_init();
 	/* enable exceptions */
 	enable_interrupts();
 
-- 
1.8.3.2

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

* [U-Boot] [PATCH] Revert "ARM: move interrupt_init to before relocation"
  2013-11-08 21:37 [U-Boot] [PATCH] Revert "ARM: move interrupt_init to before relocation" Albert ARIBAUD
@ 2013-12-11 20:28 ` Albert ARIBAUD
  0 siblings, 0 replies; 2+ messages in thread
From: Albert ARIBAUD @ 2013-12-11 20:28 UTC (permalink / raw)
  To: u-boot

On Fri,  8 Nov 2013 22:37:33 +0100, Albert ARIBAUD
<albert.u.boot@aribaud.net> wrote:

> Revert commit 0f5141e9 which causes boards starting in
> FLASH to try and write to a FLASH location.
> 
> Signed-off-by: Albert ARIBAUD <albert.u.boot@aribaud.net>
> ---
>  arch/arm/lib/board.c | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/arch/arm/lib/board.c b/arch/arm/lib/board.c
> index 34f50b0..9c72a53 100644
> --- a/arch/arm/lib/board.c
> +++ b/arch/arm/lib/board.c
> @@ -435,7 +435,6 @@ void board_init_f(ulong bootflag)
>  	addr_sp += 128;	/* leave 32 words for abort-stack   */
>  	gd->irq_sp = addr_sp;
>  #endif
> -	interrupt_init();
>  
>  	debug("New Stack Pointer is: %08lx\n", addr_sp);
>  
> @@ -637,6 +636,8 @@ void board_init_r(gd_t *id, ulong dest_addr)
>  	misc_init_r();
>  #endif
>  
> +	 /* set up exceptions */
> +	interrupt_init();
>  	/* enable exceptions */
>  	enable_interrupts();
>  

Applied to u-boot-arm/master.

Amicalement,
-- 
Albert.

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

end of thread, other threads:[~2013-12-11 20:28 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-11-08 21:37 [U-Boot] [PATCH] Revert "ARM: move interrupt_init to before relocation" Albert ARIBAUD
2013-12-11 20:28 ` Albert ARIBAUD

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