Browse Source

bootm: replace blob_start with image_start

For uImage always has a 64 bytes header, we couldn't expect to do
the xip from the header but should xip from the image start.

The latter logic in that section is also move the image from image_start
to the load address, so sync this logic to the xip operation.

Signed-off-by: Lei Wen <leiwen@marvell.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Lei Wen 14 years ago
parent
commit
02cf345973
1 changed files with 1 additions and 1 deletions
  1. 1 1
      common/cmd_bootm.c

+ 1 - 1
common/cmd_bootm.c

@@ -344,7 +344,7 @@ static int bootm_load_os(image_info_t os, ulong *load_end, int boot_progress)
 
 
 	switch (comp) {
 	switch (comp) {
 	case IH_COMP_NONE:
 	case IH_COMP_NONE:
-		if (load == blob_start) {
+		if (load == blob_start || load == image_start) {
 			printf ("   XIP %s ... ", type_name);
 			printf ("   XIP %s ... ", type_name);
 		} else {
 		} else {
 			printf ("   Loading %s ... ", type_name);
 			printf ("   Loading %s ... ", type_name);