summaryrefslogtreecommitdiff
path: root/include/image.h
diff options
context:
space:
mode:
authorThierry Reding <thierry.reding@avionic-design.de>2011-10-27 08:58:25 +0000
committerWolfgang Denk <wd@denx.de>2011-10-27 23:53:58 +0200
commit7566832a88d4cdff86140d8515b40ca942c7d444 (patch)
tree3b1b85635934e0057b7efb3bb5ce367c5218d4e7 /include/image.h
parente4a3d57dc79e8c94e3272c4a82b146df0fe3dda6 (diff)
downloadu-boot-imx-7566832a88d4cdff86140d8515b40ca942c7d444.zip
u-boot-imx-7566832a88d4cdff86140d8515b40ca942c7d444.tar.gz
u-boot-imx-7566832a88d4cdff86140d8515b40ca942c7d444.tar.bz2
image: Fix inverted logic in architecture check.
Commit 476af29 broke this check when the ifdef lists we consolidated. Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de> Acked-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'include/image.h')
-rw-r--r--include/image.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/image.h b/include/image.h
index 1ba866e..c56a18d 100644
--- a/include/image.h
+++ b/include/image.h
@@ -615,7 +615,7 @@ void fit_conf_print(const void *fit, int noffset, const char *p);
#ifndef USE_HOSTCC
static inline int fit_image_check_target_arch(const void *fdt, int node)
{
- return !fit_image_check_arch(fdt, node, IH_ARCH_DEFAULT);
+ return fit_image_check_arch(fdt, node, IH_ARCH_DEFAULT);
}
#endif /* USE_HOSTCC */