]> git.sur5r.net Git - u-boot/blobdiff - lib_nios2/board.c
Merge branch 'master' of git://git.denx.de/u-boot-usb
[u-boot] / lib_nios2 / board.c
index c6b36f4a2ef1e35903c535abfab261d743627d1c..41d3297190bda5343aba22cabea135b9a0b5b617 100644 (file)
@@ -52,7 +52,6 @@ DECLARE_GLOBAL_DATA_PTR;
  */
 
 
-extern void malloc_bin_reloc (void);
 typedef int (init_fnc_t) (void);
 
 
@@ -84,8 +83,6 @@ void board_init (void)
 {
        bd_t *bd;
        init_fnc_t **init_fnc_ptr;
-       char *s, *e;
-       int i;
 
        /* Pointer is writable since we allocated a register for it.
         * Nios treats CONFIG_SYS_GBL_DATA_OFFSET as an address.
@@ -121,7 +118,6 @@ void board_init (void)
 
        /* The Malloc area is immediately below the monitor copy in RAM */
        mem_malloc_init(CONFIG_SYS_MALLOC_BASE, CONFIG_SYS_MALLOC_LEN);
-       malloc_bin_reloc();
 
        WATCHDOG_RESET ();
        bd->bi_flashsize = flash_init();