From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?q?Pali=20Roh=C3=A1r?= Date: Sun, 18 Dec 2011 22:34:02 +0100 Subject: [U-Boot] [PATCH 06/15] drivers/video/cfb_console.c: Fix function console_scrollup In-Reply-To: <1324244051-25756-1-git-send-email-pali.rohar@gmail.com> References: <1778406.ezGto4lKnu@pali-elitebook> <1324244051-25756-1-git-send-email-pali.rohar@gmail.com> Message-ID: <1324244051-25756-6-git-send-email-pali.rohar@gmail.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de * Use correct buffer size, do not damage screen output Signed-off-by: Pali Roh?r --- drivers/video/cfb_console.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/video/cfb_console.c b/drivers/video/cfb_console.c index 904caf7..9092399 100644 --- a/drivers/video/cfb_console.c +++ b/drivers/video/cfb_console.c @@ -701,7 +701,7 @@ static void console_scrollup(void) ); #else memcpyl(CONSOLE_ROW_FIRST, CONSOLE_ROW_SECOND, - CONSOLE_SCROLL_SIZE >> 2); + CONSOLE_SCROLL_SIZE); #endif /* clear the last one */ -- 1.7.5.4