summaryrefslogtreecommitdiff
path: root/include/video_logo.h
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2014-06-09 11:36:53 +0200
committerIan Campbell <ijc@hellion.org.uk>2014-07-06 17:41:13 +0100
commit4ba73a5ac7d2ece1d17bb1c109d694ce306ac1af (patch)
tree52f4e6e61000005fafbd0aba42deff641ca7fefb /include/video_logo.h
parent23f23f23d509e8e873797884456070c8a47d72b2 (diff)
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>
Diffstat (limited to 'include/video_logo.h')
0 files changed, 0 insertions, 0 deletions