Skip to content
Snippets Groups Projects
Commit acac4752 authored by Haavard Skinnemoen's avatar Haavard Skinnemoen
Browse files

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: default avatarHaavard Skinnemoen <hskinnemoen@atmel.com>
parent 9570bcd8
No related branches found
No related tags found
No related merge requests found
...@@ -311,6 +311,8 @@ void board_init_r(gd_t *new_gd, ulong dest_addr) ...@@ -311,6 +311,8 @@ void board_init_r(gd_t *new_gd, ulong dest_addr)
dma_alloc_init(); dma_alloc_init();
board_init_info(); board_init_info();
enable_interrupts();
bd->bi_flashstart = 0; bd->bi_flashstart = 0;
bd->bi_flashsize = 0; bd->bi_flashsize = 0;
bd->bi_flashoffset = 0; bd->bi_flashoffset = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment