]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
image: Fix inverted logic in architecture check.
authorThierry Reding <thierry.reding@avionic-design.de>
Thu, 27 Oct 2011 08:58:25 +0000 (08:58 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 27 Oct 2011 21:53:58 +0000 (23:53 +0200)
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>
include/image.h

index 1ba866e475af59c60937137bf9734df276dce846..c56a18df70dd8f560bf60c2f7eb1b1cbb99016fc 100644 (file)
@@ -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 */