summaryrefslogtreecommitdiff
path: root/boot/image.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/image.c')
-rw-r--r--boot/image.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/boot/image.c b/boot/image.c
index 992e72991da..f792f2aa69a 100644
--- a/boot/image.c
+++ b/boot/image.c
@@ -9,6 +9,7 @@
#ifndef USE_HOSTCC
#include <common.h>
#include <env.h>
+#include <init.h>
#include <lmb.h>
#include <log.h>
#include <malloc.h>
@@ -29,11 +30,6 @@
#include <linux/errno.h>
#include <asm/io.h>
-#ifdef CONFIG_CMD_BDI
-extern int do_bdinfo(struct cmd_tbl *cmdtp, int flag, int argc,
- char *const argv[]);
-#endif
-
DECLARE_GLOBAL_DATA_PTR;
/* Set this if we have less than 4 MB of malloc() space */