]> git.sur5r.net Git - u-boot/commitdiff
Revert "ARM: move interrupt_init to before relocation"
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>
Fri, 8 Nov 2013 21:37:33 +0000 (22:37 +0100)
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>
Wed, 11 Dec 2013 20:28:06 +0000 (21:28 +0100)
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

index 34f50b08a5cd8ae9a284cd776b9628b231e48fa3..9c72a5353fe2cdd865f9896e915a45a89ecec5fb 100644 (file)
@@ -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();