projects
/
oweals
/
u-boot.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.denx.de/u-boot-socfpga
[oweals/u-boot.git]
/
cmd
/
ximg.c
diff --git
a/cmd/ximg.c
b/cmd/ximg.c
index 9e53cc45572fc7b4a41bb0380bbede2669d1eb26..770f6a3eede78bf2edce966cf831f3f5e027dc24 100644
(file)
--- a/
cmd/ximg.c
+++ b/
cmd/ximg.c
@@
-13,7
+13,11
@@
*/
#include <common.h>
#include <command.h>
*/
#include <common.h>
#include <command.h>
+#include <cpu_func.h>
+#include <env.h>
+#include <gzip.h>
#include <image.h>
#include <image.h>
+#include <malloc.h>
#include <mapmem.h>
#include <watchdog.h>
#if defined(CONFIG_BZIP2)
#include <mapmem.h>
#include <watchdog.h>
#if defined(CONFIG_BZIP2)
@@
-30,7
+34,7
@@
static int
do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
{
static int
do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
{
- ulong addr = load_addr;
+ ulong addr =
image_
load_addr;
ulong dest = 0;
ulong data, len;
int verify;
ulong dest = 0;
ulong data, len;
int verify;