summaryrefslogtreecommitdiff
path: root/drivers/video/cfb_console.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-04-28 07:26:43 +0000
committerAnatolij Gustschin <agust@denx.de>2012-06-04 22:42:02 +0200
commit04bbe6999048f74af00305cacae14a2d7faf2063 (patch)
tree16dc77a4f6c22f9038b70e367b655d26a7f1bca7 /drivers/video/cfb_console.c
parent8da2efb6610b5b33ec4758b0fcf97e55fa25acac (diff)
downloadu-boot-imx-04bbe6999048f74af00305cacae14a2d7faf2063.zip
u-boot-imx-04bbe6999048f74af00305cacae14a2d7faf2063.tar.gz
u-boot-imx-04bbe6999048f74af00305cacae14a2d7faf2063.tar.bz2
cfb_console: Fix function console_back
* Do not disable and enable the cursor again. console_back() is called only from video_putc() which already turns the cursor off at the beginning and turns it on at the end, so there is no need to change the cursor in console_back(). Signed-off-by: Pali Rohár <pali.rohar@gmail.com> Signed-off-by: Anatolij Gustschin <agust@denx.de>
Diffstat (limited to 'drivers/video/cfb_console.c')
-rw-r--r--drivers/video/cfb_console.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c
index 904caf7..51ea167 100644
--- a/drivers/video/cfb_console.c
+++ b/drivers/video/cfb_console.c
@@ -721,7 +721,6 @@ static void console_scrollup(void)
static void console_back(void)
{
- CURSOR_OFF;
console_col--;
if (console_col < 0) {
@@ -730,7 +729,6 @@ static void console_back(void)
if (console_row < 0)
console_row = 0;
}
- CURSOR_SET;
}
static void console_newline(void)