summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2010-01-21 04:03:20 -0500
committerWolfgang Denk <wd@denx.de>2010-01-21 22:58:49 +0100
commit5daa1c18b6a6877b0619a8dbaad0afd783f79e4f (patch)
tree0f3cb21ffd437871421f3df8dc044d77d2757cfa /include/image.h
parent34be10651704709dfb35f9c57013f02d47cced09 (diff)
downloadu-boot-imx-5daa1c18b6a6877b0619a8dbaad0afd783f79e4f.zip
u-boot-imx-5daa1c18b6a6877b0619a8dbaad0afd783f79e4f.tar.gz
u-boot-imx-5daa1c18b6a6877b0619a8dbaad0afd783f79e4f.tar.bz2
image.h: avoid command.h for host tools
The u-boot command structures don't get used with host systems, so don't bother including it when building host code. This avoids an implicit need on config.h in the process. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/image.h b/include/image.h
index 4ed0379..acc553c 100644
--- a/include/image.h
+++ b/include/image.h
@@ -46,11 +46,10 @@
#include <lmb.h>
#include <asm/u-boot.h>
+#include <command.h>
#endif /* USE_HOSTCC */
-#include <command.h>
-
#if defined(CONFIG_FIT)
#include <fdt.h>
#include <libfdt.h>