summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorPiotr Wilczek <p.wilczek@samsung.com>2013-06-05 08:14:30 +0200
committerAnatolij Gustschin <agust@denx.de>2013-07-01 20:47:18 +0200
commitf7ef9d610cb28d31c106792f18b58424e39275c7 (patch)
tree8c77f48c88f2387746e2847836241968faac1f1e /include
parent5af7d0f090b9fe2464d7980841b940846a547716 (diff)
lcd: align bmp header when uncopmressing image
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.wilczek@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> CC: Anatolij Gustschin <agust@denx.de> CC: Wolfgang Denk <wd@denx.de> Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'include')
-rw-r--r--include/lcd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/lcd.h b/include/lcd.h
index 30225edf563..f7feff1d897 100644
--- a/include/lcd.h
+++ b/include/lcd.h
@@ -46,7 +46,8 @@ void lcd_initcolregs(void);
int lcd_getfgcolor(void);
/* gunzip_bmp used if CONFIG_VIDEO_BMP_GZIP */
-struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp);
+struct bmp_image *gunzip_bmp(unsigned long addr, unsigned long *lenp,
+ void **alloc_addr);
int bmp_display(ulong addr, int x, int y);
/**