]> git.ipfire.org Git - people/ms/u-boot.git/commit
video: fix bug in cfb_console code
authorAnatolij Gustschin <agust@denx.de>
Fri, 8 Aug 2008 16:00:40 +0000 (18:00 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 10 Aug 2008 22:24:58 +0000 (00:24 +0200)
commite84d568fa2a9f4ce7888141e71676368ef6b3f25
tree28fbae861adb3083be37154b399cc2f5c1a05c3e
parentd9015f6a50d7258125349ef5c2af836458a0029a
video: fix bug in cfb_console code

FILL_15BIT_555RGB macro extension for pixel swapping
by commit bed53753dd1d7e6bcbea4339be0fb7760214cc35
introduced a bug in cfb_console:

Bitmaps with odd-numbered width won't be rendered
correctly and even U-Boot crashes are observed on
some platforms while repeated rendering of such
bitmaps with "bmp display". Also if a bitmap is
rendered to an odd-numbered x starting position,
the same problem occurs. This patch is an attempt
to fix it.

Signed-off-by: Anatolij Gustschin <agust@denx.de>
drivers/video/cfb_console.c