From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Thu, 19 Jul 2012 10:04:13 -0400 Subject: [U-Boot] [PATCH v3 17/18] lcd: Add CONSOLE_SCROLL_LINES option to speed console In-Reply-To: <1342106718-3058-18-git-send-email-sjg@chromium.org> References: <1342106718-3058-1-git-send-email-sjg@chromium.org> <1342106718-3058-18-git-send-email-sjg@chromium.org> Message-ID: <201207191004.14801.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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: