On Wed, 05 Jun 2013 08:14:30 +0200 Piotr Wilczek <[email protected]> wrote:
> When compressed image is loaded, it must be decompressed > to an aligned address + 2 to avoid unaligned access exception > on some ARM platforms. > > Signed-off-by: Piotr Wilczek <[email protected]> > Signed-off-by: Kyungmin Park <[email protected]> > CC: Anatolij Gustschin <[email protected]> > CC: Wolfgang Denk <[email protected]> > --- > Changes for V4: > - dropped the if condition > > Changes for V3: > - add comment on why extra space is allocated for uncompressed bmp header > - change the + 2 aligment method as Wolfgang Denk suggested > > Changes for V2: > - add additional space for uncompressed bmp header due to alignment > requirements > - fix to 32-bit-aligned-address + 2 alignent > > common/cmd_bmp.c | 42 ++++++++++++++++++++++++++++-------------- > include/lcd.h | 3 ++- > 2 files changed, 30 insertions(+), 15 deletions(-) Applied to u-boot-video/master (slightly corrected the comment for gunzip_bmp()). Thanks! Anatolij _______________________________________________ U-Boot mailing list [email protected] http://lists.denx.de/mailman/listinfo/u-boot

