summaryrefslogtreecommitdiff
path: root/tools/imximage.h
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2010-02-05 15:16:02 +0100
committerWolfgang Denk <wd@denx.de>2010-02-24 00:04:03 +0100
commit5b28e913f4519870ad2ca06cd7845b053f78bf0f (patch)
tree4c17b6e46b257fed51f3b9c75bfeeafa8516dc5f /tools/imximage.h
parent77e7273c40315abd2f3c17ad8d46a78950e3e65f (diff)
downloadu-boot-imx-5b28e913f4519870ad2ca06cd7845b053f78bf0f.zip
u-boot-imx-5b28e913f4519870ad2ca06cd7845b053f78bf0f.tar.gz
u-boot-imx-5b28e913f4519870ad2ca06cd7845b053f78bf0f.tar.bz2
mkimage: SEGFAULT with imximage on 64 bit systems
Running mkimage to generate an imximage produces a SEGFAULT on 64 bit machines due to pointer arithmetic limited to 32 bit. Signed-off-by: Stefano Babic <sbabic@denx.de> Acked-by: Kim Phillips <kim.phillips@freescale.com>
Diffstat (limited to 'tools/imximage.h')
-rw-r--r--tools/imximage.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/imximage.h b/tools/imximage.h
index c579f51..b4d926d 100644
--- a/tools/imximage.h
+++ b/tools/imximage.h
@@ -81,7 +81,7 @@ typedef struct {
uint32_t app_code_barker;
uint32_t app_code_csf;
uint32_t dcd_ptr_ptr;
- hab_rsa_public_key *super_root_key;
+ uint32_t super_root_key;
uint32_t dcd_ptr;
uint32_t app_dest_ptr;
} flash_header_t;