mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-25 14:10:43 +00:00
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>
This commit is contained in:
parent
ed53010441
commit
e034ea3b77
3 changed files with 14 additions and 7 deletions
11
arch/mips/include/asm/u-boot-mips.h
Normal file
11
arch/mips/include/asm/u-boot-mips.h
Normal file
|
@ -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);
|
|
@ -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";
|
||||
|
|
|
@ -355,6 +355,9 @@ int setenv_addr(const char *varname, const void *addr);
|
|||
# include <asm/mach-types.h>
|
||||
# include <asm/u-boot-nds32.h>
|
||||
#endif /* CONFIG_NDS32 */
|
||||
#ifdef CONFIG_MIPS
|
||||
# include <asm/u-boot-mips.h>
|
||||
#endif /* CONFIG_MIPS */
|
||||
|
||||
#ifdef CONFIG_AUTO_COMPLETE
|
||||
int env_complete(char *var, int maxv, char *cmdv[], int maxsz, char *buf);
|
||||
|
|
Loading…
Reference in a new issue