diff options
Diffstat (limited to 'lib_nios2')
-rw-r--r-- | lib_nios2/board.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib_nios2/board.c b/lib_nios2/board.c index 70fad1b..0677e99 100644 --- a/lib_nios2/board.c +++ b/lib_nios2/board.c @@ -149,11 +149,13 @@ void board_init (void) } WATCHDOG_RESET (); + mem_malloc_init(); + malloc_bin_reloc(); + + WATCHDOG_RESET (); bd->bi_flashsize = flash_init(); WATCHDOG_RESET (); - mem_malloc_init(); - malloc_bin_reloc(); env_relocate(); bd->bi_ip_addr = getenv_IPaddr ("ipaddr"); |