mirror of
https://xff.cz/git/u-boot/
synced 2025-09-01 16:52:14 +02:00
lcd: Add support for flushing LCD fb from dcache after update
This provides an option for the LCD to flush the dcache after each update (puts, scroll or clear). Signed-off-by: Simon Glass <sjg@chromium.org> Signed-off-by: Tom Warren <twarren@nvidia.com>
This commit is contained in:
@@ -1041,8 +1041,16 @@ int readline_into_buffer(const char *const prompt, char *buffer, int timeout)
|
||||
puts (tab_seq+(col&07));
|
||||
col += 8 - (col&07);
|
||||
} else {
|
||||
++col; /* echo input */
|
||||
putc (c);
|
||||
char buf[2];
|
||||
|
||||
/*
|
||||
* Echo input using puts() to force am
|
||||
* LCD flush if we are using an LCD
|
||||
*/
|
||||
++col;
|
||||
buf[0] = c;
|
||||
buf[1] = '\0';
|
||||
puts(buf);
|
||||
}
|
||||
*p++ = c;
|
||||
++n;
|
||||
|
Reference in New Issue
Block a user