On Wed, 05 Jun 2013 08:14:30 +0200 Piotr Wilczek <p.wilc...@samsung.com> 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 <p.wilc...@samsung.com> > Signed-off-by: Kyungmin Park <kyungmin.p...@samsung.com> > CC: Anatolij Gustschin <ag...@denx.de> > CC: Wolfgang Denk <w...@denx.de> > --- > 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 U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot