summaryrefslogtreecommitdiff
path: root/tools/imximage.h
diff options
context:
space:
mode:
authorStefano Babic <sbabic@denx.de>2013-06-26 17:26:27 +0200
committerStefano Babic <sbabic@denx.de>2013-08-31 15:06:28 +0200
commit4655d40f34c8141651d10c9e0b17511728618bda (patch)
tree7573f67d43b30928f5717493b713a9aebd4449dd /tools/imximage.h
parent49b0415a80474eeb7876dede868c65764d6e973a (diff)
downloadu-boot-imx-4655d40f34c8141651d10c9e0b17511728618bda.zip
u-boot-imx-4655d40f34c8141651d10c9e0b17511728618bda.tar.gz
u-boot-imx-4655d40f34c8141651d10c9e0b17511728618bda.tar.bz2
tools: imx_header should not include flash_offset
Doing a make distclean; make mx6qsabresd_config; make and hexdump -C u-boot.imx | less ... 00000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 000003f0 00 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 |................| ^^^^^^^^^^^ 00000400 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00001000 13 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 |...ê.ð.å.ð.å.ð.å| ... shows the flash_offset value being written into the final generated image, wich is not correct. Instead create flash_offset as static variable such that the generated image is "clean". 00000360 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................| * 00001000 13 00 00 ea 14 f0 9f e5 14 f0 9f e5 14 f0 9f e5 |...ê.ð.å.ð.å.ð.å| Signed-off-by: Stefano Babic <sbabic@denx.de>
Diffstat (limited to 'tools/imximage.h')
-rw-r--r--tools/imximage.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/imximage.h b/tools/imximage.h
index 214187b..ec629a5 100644
--- a/tools/imximage.h
+++ b/tools/imximage.h
@@ -147,7 +147,6 @@ struct imx_header {
imx_header_v1_t hdr_v1;
imx_header_v2_t hdr_v2;
} header;
- uint32_t flash_offset;
} __attribute__((aligned(4096)));
typedef void (*set_dcd_val_t)(struct imx_header *imxhdr,