summaryrefslogtreecommitdiff
path: root/arch
diff options
context:
space:
mode:
authorDaniel Schwierzeck <daniel.schwierzeck@googlemail.com>2012-06-03 12:40:04 +0000
committerTom Rini <trini@ti.com>2012-09-26 11:08:32 -0700
commit00d0d2ad4e875a70e212ec12d17ad5f872f6033d (patch)
tree8d33ba568e6bc1a9bd61577c3a5b2131b70a3873 /arch
parentb3873d3f4c424e6563750bb517fac03c2e833cdc (diff)
downloadu-boot-imx-00d0d2ad4e875a70e212ec12d17ad5f872f6033d.zip
u-boot-imx-00d0d2ad4e875a70e212ec12d17ad5f872f6033d.tar.gz
u-boot-imx-00d0d2ad4e875a70e212ec12d17ad5f872f6033d.tar.bz2
malloc: remove extern declarations of malloc_bin_reloc() in board.c files
Declare malloc_bin_reloc() in malloc.h and remove all extern declarations in various board.c files to get rid of one checkpatch.pl warning. Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> Cc: Wolfgang Denk <wd@denx.de> Cc: Andreas Bießmann <andreas.devel@gmail.com> Cc: Jason Jin <Jason.jin@freescale.com> Cc: Macpaul Lin <macpaul@andestech.com> Cc: Daniel Hellstrom <daniel@gaisler.com> Acked-by: Andreas Bießmann <andreas.devel@gmail.com>
Diffstat (limited to 'arch')
-rw-r--r--arch/avr32/lib/board.c1
-rw-r--r--arch/m68k/lib/board.c1
-rw-r--r--arch/mips/lib/board.c1
-rw-r--r--arch/nds32/lib/board.c2
-rw-r--r--arch/sparc/lib/board.c1
5 files changed, 0 insertions, 6 deletions
diff --git a/arch/avr32/lib/board.c b/arch/avr32/lib/board.c
index d7a64b4..9d3b76e 100644
--- a/arch/avr32/lib/board.c
+++ b/arch/avr32/lib/board.c
@@ -250,7 +250,6 @@ void board_init_f(ulong board_type)
void board_init_r(gd_t *new_gd, ulong dest_addr)
{
- extern void malloc_bin_reloc (void);
#ifndef CONFIG_ENV_IS_NOWHERE
extern char * env_name_spec;
#endif
diff --git a/arch/m68k/lib/board.c b/arch/m68k/lib/board.c
index 65a8595..2add630 100644
--- a/arch/m68k/lib/board.c
+++ b/arch/m68k/lib/board.c
@@ -389,7 +389,6 @@ void board_init_r (gd_t *id, ulong dest_addr)
{
char *s;
bd_t *bd;
- extern void malloc_bin_reloc (void);
#ifndef CONFIG_ENV_IS_NOWHERE
extern char * env_name_spec;
diff --git a/arch/mips/lib/board.c b/arch/mips/lib/board.c
index 62d47a8..b14b33e 100644
--- a/arch/mips/lib/board.c
+++ b/arch/mips/lib/board.c
@@ -248,7 +248,6 @@ void board_init_r(gd_t *id, ulong dest_addr)
#ifndef CONFIG_SYS_NO_FLASH
ulong size;
#endif
- extern void malloc_bin_reloc(void);
#ifndef CONFIG_ENV_IS_NOWHERE
extern char *env_name_spec;
#endif
diff --git a/arch/nds32/lib/board.c b/arch/nds32/lib/board.c
index 2164a50..17d3ee0 100644
--- a/arch/nds32/lib/board.c
+++ b/arch/nds32/lib/board.c
@@ -306,8 +306,6 @@ void board_init_r(gd_t *id, ulong dest_addr)
bd_t *bd;
ulong malloc_start;
- extern void malloc_bin_reloc(void);
-
gd = id;
bd = gd->bd;
diff --git a/arch/sparc/lib/board.c b/arch/sparc/lib/board.c
index 6f33666..ff0e0f2 100644
--- a/arch/sparc/lib/board.c
+++ b/arch/sparc/lib/board.c
@@ -62,7 +62,6 @@ DECLARE_GLOBAL_DATA_PTR;
*/
extern void timer_interrupt_init(void);
-extern void malloc_bin_reloc(void);
extern int do_ambapp_print(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[]);
extern int prom_init(void);