video: Fix cfb_console for 4-bit wide font
authorMarek Vasut <marex@denx.de>
Tue, 30 Jul 2013 21:37:59 +0000 (23:37 +0200)
committerAnatolij Gustschin <agust@denx.de>
Sat, 10 Aug 2013 07:22:52 +0000 (09:22 +0200)
commitfd8cf994070df9d7576f429506514bf0bb778afd
tree0ef92de807058fbdb4806550bcfa100edc48d38d
parent84f957f80b32b25df64316b6931d6924b83d4b72
video: Fix cfb_console for 4-bit wide font

The cfb_console can't handle 4-bit wide font properly, since with
4-bit wide font, all 8 bits are drawn. Unbreak the video_drawchars()
function to correctly render 4-bits only on such fonts.

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