mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 23:51:33 +00:00
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 <hskinnemoen@atmel.com>
This commit is contained in:
parent
9570bcd87f
commit
acac475212
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue