diff options
author | Timur Tabi <timur@freescale.com> | 2010-08-27 15:45:47 -0500 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2010-09-21 22:27:43 +0200 |
commit | c88777e09f77e0b925b001b1a1610b8441b826d8 (patch) | |
tree | 9cba64584a5b520e8074c722f662d27387f2fd84 /board/micronas/vct | |
parent | 800eb09641ae67c707b65acff112684a954b7f44 (diff) | |
download | u-boot-imx-c88777e09f77e0b925b001b1a1610b8441b826d8.zip u-boot-imx-c88777e09f77e0b925b001b1a1610b8441b826d8.tar.gz u-boot-imx-c88777e09f77e0b925b001b1a1610b8441b826d8.tar.bz2 |
video: cfb_console: fix definition and usage of CURSOR_xxx macros
The CURSOR_ON, CURSOR_OFF, and CURSOR_SET macros are defined incorrectly. If
cursor support is disabled, then these macros are defined to nothing, but
then they are used like this:
if (console_col < CONSOLE_COLS)
CURSOR_OFF
console_row++;
which was compiled like this:
if (console_col < CONSOLE_COLS)
console_row++;
This is obviously not what was intended.
Signed-off-by: Timur Tabi <timur@freescale.com>
Acked-by: Detlev Zundel <dzu@denx.de>
Diffstat (limited to 'board/micronas/vct')
0 files changed, 0 insertions, 0 deletions