]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
sh: Remove malloc_bin_reloc from lib_sh, lib_nios2 and lib_nios.
authorNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thu, 15 Oct 2009 04:36:34 +0000 (13:36 +0900)
committerNobuhiro Iwamatsu <iwamatsu@nigauri.org>
Thu, 29 Oct 2009 23:41:15 +0000 (08:41 +0900)
By "arm/microblaze/nios/nios2/sh: Remove relocation fixups"
(commit: 0630535e2d062dd73c1ceca5c6125c86d1127a49", doesn't need
malloc_bin_reloc function. This commit remove this.

Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
lib_nios/board.c
lib_nios2/board.c
lib_sh/board.c

index 72713a8fec7aebd8db2e15a300efee93343dc6b3..5d2fb2ec4afd849d23ec661588b2cdbf3826049b 100644 (file)
@@ -49,7 +49,6 @@ DECLARE_GLOBAL_DATA_PTR;
  */
 
 
-extern void malloc_bin_reloc (void);
 typedef int (init_fnc_t) (void);
 
 
@@ -115,7 +114,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();
index c6b36f4a2ef1e35903c535abfab261d743627d1c..008f04f956277ddabe75cca2850c38e5d51ac306 100644 (file)
@@ -52,7 +52,6 @@ DECLARE_GLOBAL_DATA_PTR;
  */
 
 
-extern void malloc_bin_reloc (void);
 typedef int (init_fnc_t) (void);
 
 
@@ -121,7 +120,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();
index 5ed40e922b25d049c2c38b31d0fa2c47c0351989..c97e20c3e1cfc3f3a7cc2506835c59e3071c5562 100644 (file)
@@ -32,7 +32,6 @@
 #include <miiphy.h>
 #endif
 
-extern void malloc_bin_reloc (void);
 extern int cpu_init(void);
 extern int board_init(void);
 extern int dram_init(void);
@@ -92,7 +91,6 @@ static int sh_mem_env_init(void)
 {
        mem_malloc_init(TEXT_BASE - CONFIG_SYS_GBL_DATA_SIZE -
                        CONFIG_SYS_MALLOC_LEN, CONFIG_SYS_MALLOC_LEN - 16);
-       malloc_bin_reloc();
        env_relocate();
        jumptable_init();
        return 0;