]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
imximage: Fix imximage IVT bug for EIM-NOR boot
authorYe.Li <Ye.Li@freescale.com>
Wed, 20 Aug 2014 08:55:32 +0000 (16:55 +0800)
committerStefano Babic <sbabic@denx.de>
Tue, 9 Sep 2014 14:39:02 +0000 (16:39 +0200)
commit03ea24b2a9f8baab9b857a7c4b4089979c4ae48b
tree6be2c968d694f09945287f82f9393e3864340d41
parent4aa7ac30a7173934f32db466bd4592cd292e7cc9
imximage: Fix imximage IVT bug for EIM-NOR boot

The load region size of EIM-NOR are defined to 0. For this case,
the parameter "imximage_init_loadsize" must be calculated.
The imximage tool implements the calculation in the "imximage_generate"
function, but the following function "imximage_set_header" resets the value
and not calculate. This bug cause some fields of IVT head are not
correct, for example the boot_data and DCD overlay the application area.

Signed-off-by: Ye.Li <B37916@freescale.com>
tools/imximage.c