projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9570bcd
)
AVR32: Enable interrupts at bootup
author
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Fri, 14 Dec 2007 15:51:22 +0000
(16:51 +0100)
committer
Haavard Skinnemoen
<hskinnemoen@atmel.com>
Mon, 17 Dec 2007 09:43:16 +0000
(10:43 +0100)
The timer code depends on the timer interrupt to keep track of the
upper 32 bits of the cycle counter. This obviously doesn't work when
interrupts are disabled the whole time.
Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
lib_avr32/board.c
patch
|
blob
|
history
diff --git
a/lib_avr32/board.c
b/lib_avr32/board.c
index 11d864feacabb66b783916b3a6cd0ddca41c314b..809ee3be92c29665861cef4fd296b0c15931d3d6 100644
(file)
--- a/
lib_avr32/board.c
+++ b/
lib_avr32/board.c
@@
-311,6
+311,8
@@
void board_init_r(gd_t *new_gd, ulong dest_addr)
dma_alloc_init();
board_init_info();
+ enable_interrupts();
+
bd->bi_flashstart = 0;
bd->bi_flashsize = 0;
bd->bi_flashoffset = 0;