diff options
author | Timur Tabi <timur@freescale.com> | 2010-08-27 15:45:47 -0500 |
---|---|---|
committer | Anatolij Gustschin <agust@denx.de> | 2010-09-16 00:44:06 +0200 |
commit | 6561863678822847be92c3bd06ae1d64acca4f6a (patch) | |
tree | af676a9344b28f73f93db31cfe5e8a100e7016d8 /common/Makefile | |
parent | a12555c02d716f62aa1ec4764cf1c42bfeecf07d (diff) | |
download | u-boot-imx-6561863678822847be92c3bd06ae1d64acca4f6a.zip u-boot-imx-6561863678822847be92c3bd06ae1d64acca4f6a.tar.gz u-boot-imx-6561863678822847be92c3bd06ae1d64acca4f6a.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 'common/Makefile')
0 files changed, 0 insertions, 0 deletions