[U-Boot] [PATCH v3 17/18] lcd: Add CONSOLE_SCROLL_LINES option to speed console
Mike Frysinger
vapier at gentoo.org
Thu Jul 19 16:04:13 CEST 2012
On Thursday 12 July 2012 11:25:17 Simon Glass wrote:
> --- a/README
> +++ b/README
>
> + CONSOLE_SCROLL_LINES
> +
> + When the console need to be scrolled, this is the number of
> + lines to scroll by. It defaults to 1. Increasing this makes
> + the console jump but can help speed up operation when scrolling
> + is slow.
board knobs should be CONFIG_xxx
> --- a/common/lcd.c
> +++ b/common/lcd.c
>
> static void console_scrollup (void)
> {
> + int rows = 1;
> +
> +#ifdef CONSOLE_SCROLL_LINES
> + rows = CONSOLE_SCROLL_LINES;
> +#endif
seems like this should be at the top of the file:
#ifndef CONSOLE_SCROLL_LINES
# define CONSOLE_SCROLL_LINES 1
#endif
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20120719/856ad090/attachment.pgp>
More information about the U-Boot
mailing list