From patchwork Thu Oct 27 18:58:25 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thierry Reding X-Patchwork-Id: 122212 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from theia.denx.de (theia.denx.de [85.214.87.163]) by ozlabs.org (Postfix) with ESMTP id E3A241007D3 for ; Fri, 28 Oct 2011 05:58:43 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 036512960B; Thu, 27 Oct 2011 20:58:42 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xm4NaAzZ+93A; Thu, 27 Oct 2011 20:58:41 +0200 (CEST) Received: from theia.denx.de (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 9522A295C1; Thu, 27 Oct 2011 20:58:40 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by theia.denx.de (Postfix) with ESMTP id 79ACB295C1 for ; Thu, 27 Oct 2011 20:58:38 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at theia.denx.de Received: from theia.denx.de ([127.0.0.1]) by localhost (theia.denx.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id hHmdiDtvYgGO for ; Thu, 27 Oct 2011 20:58:38 +0200 (CEST) X-policyd-weight: NOT_IN_SBL_XBL_SPAMHAUS=-1.5 NOT_IN_SPAMCOP=-1.5 NOT_IN_BL_NJABL=-1.5 (only DNSBL check requested) Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.17.10]) by theia.denx.de (Postfix) with ESMTP id 3CDF7295BF for ; Thu, 27 Oct 2011 20:58:36 +0200 (CEST) Received: from localhost (p548E0FA0.dip0.t-ipconnect.de [84.142.15.160]) by mrelayeu.kundenserver.de (node=mrbap4) with ESMTP (Nemesis) id 0LsR2m-1Qqn6X1LRI-012DU7; Thu, 27 Oct 2011 20:58:25 +0200 From: Thierry Reding To: u-boot@lists.denx.de Date: Thu, 27 Oct 2011 20:58:25 +0200 Message-Id: <1319741905-31209-1-git-send-email-thierry.reding@avionic-design.de> X-Mailer: git-send-email 1.7.7.1 X-Provags-ID: V02:K0:LaN3cJ8OP61xj1jaXA4YJbP67MhjU8OaDw0oPewldMj JG00qcQvzGFEhiIWa1kVP08yd9uS525e7T1zZUOlZbi5IjgAvs gpaEMkHiYlCF2lWNBlWItTRCWgkfCaNxbSyVlDWxRPgBfBPylG RWzsGPjFPN5roTf5SGxbNAHMbD7ZUHNCZGtXmvNkPRgFaCcJDM Ku3+9y6LWp4SI0xekv4XU5V3jXOJPBudD/wKQVMxlrOdgzVjKl ZoIYk6HqtES0XPYQPE0MHyAKzAirNK4McLLK6GbGWYyJsY4Rzb 6lVGHKBe+yh8EQbdtluzkR2jZtrXCfFOLuvr/c4eXv5tUejB7G NKM31bemd234s0lucA1+xUwJ/3p8mWXsRbJnL+R7+n5njV1bNC ZjW9dJAOS+G3w6AMA50A/WOX75EWVJxxOix8gKNbgiJ9KEb97q o9N69 Subject: [U-Boot] [PATCH] image: Fix inverted logic in architecture check. X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.9 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: u-boot-bounces@lists.denx.de Errors-To: u-boot-bounces@lists.denx.de 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 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 */