commit | 4d9d34a7f280ba0e14896d4157ede677899f83a2 | [log] [tgz] |
---|---|---|
author | Lokesh Vutla <lokeshvutla@ti.com> | Tue May 24 10:34:37 2016 +0530 |
committer | Tom Rini <trini@konsulko.com> | Fri May 27 15:41:39 2016 -0400 |
tree | 48fa79eaf3fcc69617f4dd7953f409eebe6b0bed | |
parent | 53d150b1412bc1b2da07dfdeb2aa834ab62ec7ad [diff] |
spl: fit: Fix the number of bytes read when reading fdt from fit sectors field is not being updated when reading fdt from fit image. Because of this size_of(u-boot.bin) is being read when reading fdt. Fixing it by updating the sectors field properly. Tested-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com> Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>