]> git.sur5r.net Git - u-boot/commitdiff
x86: config: Always scroll the display by 5 lines, for speed
authorSimon Glass <sjg@chromium.org>
Thu, 1 Jan 2015 23:17:58 +0000 (16:17 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 24 Jan 2015 00:24:54 +0000 (17:24 -0700)
Scrolling a line at a time is very slow for reasons that I don't understand.
It seems to take about 100ms to copy 4MB of RAM in the frame buffer. To cope
with this, scroll 5 lines each time.

Signed-off-by: Simon Glass <sjg@chromium.org>
include/configs/x86-common.h

index f16ae3291323887671945745dd7cf954c9073ee1..4f0a3c592890d95879ebc900dda2b00356850a9d 100644 (file)
 #define VIDEO_FB_16BPP_WORD_SWAP
 #define CONFIG_I8042_KBD
 #define CONFIG_CFB_CONSOLE
+#define CONFIG_CONSOLE_SCROLL_LINES 5
 
 /*-----------------------------------------------------------------------
  * CPU Features