summaryrefslogtreecommitdiff
path: root/arch/arm/lib/board.c
diff options
context:
space:
mode:
authorAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-11-08 22:37:33 +0100
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2013-12-11 21:28:06 +0100
commitbd851c7a26b39309052b2359dc1994127f518534 (patch)
treed357b0800812ddfefd779fac843c0d626f38c1ad /arch/arm/lib/board.c
parent4b210ad34282bfd9fc982a8e3c9a9126f4094cdb (diff)
downloadu-boot-imx-bd851c7a26b39309052b2359dc1994127f518534.zip
u-boot-imx-bd851c7a26b39309052b2359dc1994127f518534.tar.gz
u-boot-imx-bd851c7a26b39309052b2359dc1994127f518534.tar.bz2
Revert "ARM: move interrupt_init to before relocation"
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>
Diffstat (limited to 'arch/arm/lib/board.c')
-rw-r--r--arch/arm/lib/board.c3
1 files changed, 2 insertions, 1 deletions
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();