From: Haavard Skinnemoen Date: Fri, 14 Dec 2007 15:51:22 +0000 (+0100) Subject: AVR32: Enable interrupts at bootup X-Git-Tag: v1.3.2-rc1~108^2^2~1 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=acac475212cbedb17b321a363a1c878e2b47b37f;p=u-boot AVR32: Enable interrupts at bootup 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 --- diff --git a/lib_avr32/board.c b/lib_avr32/board.c index 11d864feac..809ee3be92 100644 --- 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;