]> code.ossystems Code Review - bsp/u-boot.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)
committerOtavio Salvador <otavio@ossystems.com.br>
Tue, 9 Sep 2014 15:30:36 +0000 (12:30 -0300)
commitb8d5d4219155f9f082d7d41a74a572727b115f40
treec5a02a21502a1de7af7e4276ed3917a55a93a763
parent228135e8e48978045d67fe0dec042ec22d74f6a4
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