summaryrefslogtreecommitdiff
path: root/cmd/bootz.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/bootz.c')
-rw-r--r--cmd/bootz.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/bootz.c b/cmd/bootz.c
index b6bb4aae72d..787203f5bd7 100644
--- a/cmd/bootz.c
+++ b/cmd/bootz.c
@@ -4,7 +4,6 @@
* Wolfgang Denk, DENX Software Engineering, wd@denx.de.
*/
-#include <common.h>
#include <bootm.h>
#include <command.h>
#include <image.h>
@@ -57,7 +56,7 @@ static int bootz_start(struct cmd_tbl *cmdtp, int flag, int argc,
if (ret != 0)
return 1;
- lmb_reserve(&images->lmb, images->ep, zi_end - zi_start);
+ lmb_reserve(images->ep, zi_end - zi_start);
/*
* Handle the BOOTM_STATE_FINDOTHER state ourselves as we do not