projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
spl, common, serial: build SPL without serial support
[oweals/u-boot.git]
/
common
/
cmd_source.c
diff --git
a/common/cmd_source.c
b/common/cmd_source.c
index f3e9e605e17b6c65b756f163a692334c983eadb1..d2a881ddc798f32c5a598f57245a208b9bb8036d 100644
(file)
--- a/
common/cmd_source.c
+++ b/
common/cmd_source.c
@@
-19,6
+19,7
@@
#include <command.h>
#include <image.h>
#include <malloc.h>
#include <command.h>
#include <image.h>
#include <malloc.h>
+#include <mapmem.h>
#include <asm/byteorder.h>
#include <asm/io.h>
#if defined(CONFIG_8xx)
#include <asm/byteorder.h>
#include <asm/io.h>
#if defined(CONFIG_8xx)
@@
-142,8
+143,7
@@
source (ulong addr, const char *fit_uname)
/**************************************************/
#if defined(CONFIG_CMD_SOURCE)
/**************************************************/
#if defined(CONFIG_CMD_SOURCE)
-int
-do_source (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
+static int do_source(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
{
ulong addr;
int rcode;
{
ulong addr;
int rcode;