Home
last modified time | relevance | path

Searched hist:"6561863678822847 be92c3bd06ae1d64acca4f6a" (Results 1 – 1 of 1) sorted by relevance

/rk3399_rockchip-uboot/drivers/video/
H A Dcfb_console.c6561863678822847be92c3bd06ae1d64acca4f6a Fri Aug 27 20:45:47 UTC 2010 Timur Tabi <timur@freescale.com> 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>