]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd_bootm.c: Only say XIP image when load is image_start
authorTom Rini <trini@ti.com>
Thu, 1 May 2014 14:01:08 +0000 (10:01 -0400)
committerTom Rini <trini@ti.com>
Mon, 12 May 2014 19:20:05 +0000 (15:20 -0400)
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 <trini@ti.com>
common/cmd_bootm.c

index c243a5bd78a92ec55fb7d8f2feefe51f7fc9589a..e683af36916171a0d4962fc3a013457caf09eb44 100644 (file)
@@ -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 {