diff options
author | Gregory CLEMENT <gregory.clement@free-electrons.com> | 2011-01-04 15:39:55 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-01-14 10:44:33 +0100 |
commit | 7093f3fd201fb9bc238da40d40134172115f47a2 (patch) | |
tree | 13bae89b3d499305751e0b56324604ee7faba431 /commands | |
parent | 2f07c8f41526ba4df44d4e9de339cbebf9c832d4 (diff) | |
download | barebox-7093f3fd201fb9bc238da40d40134172115f47a2.tar.gz barebox-7093f3fd201fb9bc238da40d40134172115f47a2.tar.xz |
BMP: Add support for 32bpp video frame buffer
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/bmp.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/commands/bmp.c b/commands/bmp.c index 5bac031004..644a977312 100644 --- a/commands/bmp.c +++ b/commands/bmp.c @@ -25,6 +25,7 @@ static inline void set_pixel(struct fb_info *info, void *adr, int r, int g, int *(u16 *)adr = px; break; case 32: + *(u32 *)adr = px; break; } } |