Skip to content
Snippets Groups Projects
Commit bbc8a8b4 authored by Simon Glass's avatar Simon Glass Committed by Tom Warren
Browse files

dm: video: Flush the cache after a puts()


This helps keep the display consistent. puts() is used when printing the
prompt, so is a useful way to make sure the current display contents is
visible.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
Acked-by: default avatarAnatolij Gustschin <agust@denx.de>
Signed-off-by: default avatarTom Warren <twarren@nvidia.com>
parent 73248479
No related branches found
No related tags found
No related merge requests found
...@@ -170,6 +170,7 @@ static void vidconsole_puts(struct stdio_dev *sdev, const char *s) ...@@ -170,6 +170,7 @@ static void vidconsole_puts(struct stdio_dev *sdev, const char *s)
while (*s) while (*s)
vidconsole_put_char(dev, *s++); vidconsole_put_char(dev, *s++);
video_sync(dev->parent);
} }
/* Set up the number of rows and colours (rotated drivers override this) */ /* Set up the number of rows and colours (rotated drivers override this) */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment