Skip to contentSkip to conversation

image: Fix inverted logic in architecture check.

PATCH New Thierry Reding 3 participants 3 messages Oct 27, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 image: Fix inverted logic in architecture check.

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

---
 include/image.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
include/image.h +1 -1
index 1ba866e..c56a18d 100644
@@ -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 */
 
Signature · 1 line
1.7.7.1
#1 lore raw

PATCH 1/1 image: Fix inverted logic in architecture check.

Quoted 1 line · Thierry Reding

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

that does seem to be the case ... sorry about that. i don't have any dt systems to test :x.

-mike

#2 lore raw

PATCH 1/1 image: Fix inverted logic in architecture check.

In reply to Thierry Reding

Dear Thierry Reding,

Quoted 6 lines · In message <1319741905-31209-1-git-send-email-thierry.reding@avionic-design.de>…

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

---
 include/image.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 7 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
G's Third Law:             In spite of all evidence  to  the  contra-
ry,  the  entire  universe  is composed of only two basic substances:
magic and bullshit.
H's Dictum:                There is no magic ...