Hans de Goede 4ba73a5ac7 sunxi: mksunxiboot: Fix loading of files with a size which is not a multiple of 4
We should not be aligning the amount of bytes which we try to read from the
disk, this leads to trying to read more bytes then there are which fails.

file_size is already aligned to BLOCK_SIZE before being stored in
img.header.length, so there is no need for load_size at all.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
2014-07-06 17:41:13 +01:00
..
2014-05-12 15:20:05 -04:00
2014-05-27 00:10:48 +02:00
2014-05-27 00:10:48 +02:00
2009-11-24 23:43:18 +01:00
2009-04-28 01:16:46 +02:00