summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAlbert ARIBAUD \(3ADEV\) <albert.aribaud@3adev.fr>2015-06-19 14:18:30 +0200
committerStefano Babic <sbabic@denx.de>2015-07-10 10:12:59 +0200
commit699279cac0ed0816433e0922aba26fe6dd0a8066 (patch)
tree2b84cb87664855f92d8326aea57cdc039982200d /tools
parentb44e60ac0422cda092993b2f58d35a39c5bf2f35 (diff)
downloadblackbird-obmc-uboot-699279cac0ed0816433e0922aba26fe6dd0a8066.tar.gz
blackbird-obmc-uboot-699279cac0ed0816433e0922aba26fe6dd0a8066.zip
tools: mkimage: fix imximage header size
imximage header size is 4-byte, not 8-byte aligned. This produces .imx images that a Vybrid cannot boot on. Fix by adding a "padding" field in header. Signed-off-by: Albert ARIBAUD (3ADEV) <albert.aribaud@3adev.fr>
Diffstat (limited to 'tools')
-rw-r--r--tools/imximage.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/imximage.h b/tools/imximage.h
index 36fe0958fe..a913329f34 100644
--- a/tools/imximage.h
+++ b/tools/imximage.h
@@ -129,6 +129,7 @@ typedef struct {
ivt_header_t header;
write_dcd_command_t write_dcd_command;
dcd_addr_data_t addr_data[MAX_HW_CFG_SIZE_V2];
+ uint32_t padding[1]; /* end up on an 8-byte boundary */
} dcd_v2_t;
typedef struct {
OpenPOWER on IntegriCloud