[U-Boot] [PATCH] image: Fix inverted logic in architecture check.

Thierry Reding thierry.reding at avionic-design.de
Thu Oct 27 20:58:25 CEST 2011


Commit 476af29 broke this check when the ifdef lists we consolidated.

Signed-off-by: Thierry Reding <thierry.reding at avionic-design.de>
---
 include/image.h |    2 +-
 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 */
 
-- 
1.7.7.1



More information about the U-Boot mailing list