diff options
author | Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> | 2012-06-03 23:46:04 +0200 |
---|---|---|
committer | Daniel Schwierzeck <daniel.schwierzeck@googlemail.com> | 2012-06-03 23:46:04 +0200 |
commit | e034ea3b77baf90ab8dde2c1beeb22704b01fb2d (patch) | |
tree | dda320bfb851444dce71331cacb3b463249519f3 /arch | |
parent | ed53010441c1aa29b127aecf57b1d83d23e63f8d (diff) | |
download | u-boot-imx-e034ea3b77baf90ab8dde2c1beeb22704b01fb2d.zip u-boot-imx-e034ea3b77baf90ab8dde2c1beeb22704b01fb2d.tar.gz u-boot-imx-e034ea3b77baf90ab8dde2c1beeb22704b01fb2d.tar.bz2 |
MIPS: board.c: move extern declarations to u-boot-mips.h
This fixes some remaining checkpatch.pl warnings.
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/mips/include/asm/u-boot-mips.h | 11 | ||||
-rw-r--r-- | arch/mips/lib/board.c | 7 |
2 files changed, 11 insertions, 7 deletions
diff --git a/arch/mips/include/asm/u-boot-mips.h b/arch/mips/include/asm/u-boot-mips.h new file mode 100644 index 0000000..6f26dfa --- /dev/null +++ b/arch/mips/include/asm/u-boot-mips.h @@ -0,0 +1,11 @@ +/* + * This file is released under the terms of GPL v2 and any later version. + * See the file COPYING in the root directory of the source tree for details. + * + * Copyright (C) 2003 Wolfgang Denk, DENX Software Engineering, wd@denx.de + */ + +extern ulong uboot_end_data; +extern ulong uboot_end; + +extern int incaip_set_cpuclk(void); diff --git a/arch/mips/lib/board.c b/arch/mips/lib/board.c index 59a8001..62d47a8 100644 --- a/arch/mips/lib/board.c +++ b/arch/mips/lib/board.c @@ -38,13 +38,6 @@ DECLARE_GLOBAL_DATA_PTR; -extern int timer_init(void); - -extern int incaip_set_cpuclk(void); - -extern ulong uboot_end_data; -extern ulong uboot_end; - ulong monitor_flash_len; static char *failed = "*** failed ***\n"; |