diff options
author | Stefano Babic <sbabic@denx.de> | 2013-06-26 17:26:27 +0200 |
---|---|---|
committer | Stefano Babic <sbabic@denx.de> | 2013-08-31 15:06:28 +0200 |
commit | 4655d40f34c8141651d10c9e0b17511728618bda (patch) | |
tree | 7573f67d43b30928f5717493b713a9aebd4449dd /tools/getline.c | |
parent | 49b0415a80474eeb7876dede868c65764d6e973a (diff) | |
download | u-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/getline.c')
0 files changed, 0 insertions, 0 deletions