From: Tom Rini Date: Thu, 1 May 2014 14:01:08 +0000 (-0400) Subject: cmd_bootm.c: Only say XIP image when load is image_start X-Git-Tag: v2014.07-rc2~33 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=717ccc1d7f77b4d1177c098749adc07205a22fa1;p=oweals%2Fu-boot.git cmd_bootm.c: Only say XIP image when load is image_start We say we have an XIP (in this case, image loaded at desired execution address) when the image header has been offset in the load. It's possible that in some cases executing the header is non-fatal but that's not true in many other cases. Signed-off-by: Tom Rini --- diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c index c243a5bd78..e683af3691 100644 --- a/common/cmd_bootm.c +++ b/common/cmd_bootm.c @@ -388,7 +388,7 @@ static int bootm_load_os(bootm_headers_t *images, unsigned long *load_end, image_buf = map_sysmem(image_start, image_len); switch (comp) { case IH_COMP_NONE: - if (load == blob_start || load == image_start) { + if (load == image_start) { printf(" XIP %s ... ", type_name); no_overlap = 1; } else {