9
0
Fork 0

Fix mkimage -l bug with multifile images on 64bit platforms

Patch by David Updegraff, 06 Sep 2006
This commit is contained in:
Wolfgang Denk 2006-09-06 23:29:15 +02:00
parent f60ba0d35e
commit 0dab03ba8f
2 changed files with 4 additions and 1 deletions

View File

@ -2,6 +2,9 @@
Changes since U-Boot 1.1.4:
======================================================================
* Fix mkimage -l bug with multifile images on 64bit platforms
Patch by David Updegraff, 06 Sep 2006
* Fix build problems on sorcery board.
* Fix coldfire build problems.

View File

@ -632,7 +632,7 @@ print_header (image_header_t *hdr)
if (hdr->ih_type == IH_TYPE_MULTI || hdr->ih_type == IH_TYPE_SCRIPT) {
int i, ptrs;
uint32_t pos;
unsigned long *len_ptr = (unsigned long *) (
uint32_t *len_ptr = (uint32_t *) (
(unsigned long)hdr + sizeof(image_header_t)
);