From 7566832a88d4cdff86140d8515b40ca942c7d444 Mon Sep 17 00:00:00 2001 From: Thierry Reding Date: Thu, 27 Oct 2011 08:58:25 +0000 Subject: [PATCH] image: Fix inverted logic in architecture check. Commit 476af29 broke this check when the ifdef lists we consolidated. Signed-off-by: Thierry Reding Acked-by: Mike Frysinger --- include/image.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/image.h b/include/image.h index 1ba866e475..c56a18df70 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 */ -- 2.25.1