* [U-Boot] [PATCH] cmd_bootm.c: Only say XIP image when load is image_start
@ 2014-05-01 14:01 Tom Rini
2014-05-13 1:53 ` [U-Boot] " Tom Rini
0 siblings, 1 reply; 2+ messages in thread
From: Tom Rini @ 2014-05-01 14:01 UTC (permalink / raw)
To: u-boot
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index c243a5b..e683af3 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 {
--
1.7.9.5
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [U-Boot] cmd_bootm.c: Only say XIP image when load is image_start
2014-05-01 14:01 [U-Boot] [PATCH] cmd_bootm.c: Only say XIP image when load is image_start Tom Rini
@ 2014-05-13 1:53 ` Tom Rini
0 siblings, 0 replies; 2+ messages in thread
From: Tom Rini @ 2014-05-13 1:53 UTC (permalink / raw)
To: u-boot
On Thu, May 01, 2014 at 10:01:08AM -0400, Tom Rini wrote:
> 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>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20140512/a84c416a/attachment.pgp>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-05-13 1:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-01 14:01 [U-Boot] [PATCH] cmd_bootm.c: Only say XIP image when load is image_start Tom Rini
2014-05-13 1:53 ` [U-Boot] " Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox