diff options
Diffstat (limited to 'lib_nios')
-rw-r--r-- | lib_nios/board.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib_nios/board.c b/lib_nios/board.c index 63e79aec28e..9d8eea79624 100644 --- a/lib_nios/board.c +++ b/lib_nios/board.c @@ -143,11 +143,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"); |