summaryrefslogtreecommitdiff
path: root/drivers/video/vidconsole-uclass.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-01-30 16:37:41 -0700
committerTom Warren <twarren@nvidia.com>2016-02-16 09:17:50 -0700
commitbbc8a8b4cc4d5d7f555765dd5ee9802a151a3394 (patch)
tree8d1236cc4c1f478d9816d93556166dea048686c4 /drivers/video/vidconsole-uclass.c
parent732484799b60c22c71f6ac0f1ff2db39bcd0c7d8 (diff)
downloadu-boot-imx-bbc8a8b4cc4d5d7f555765dd5ee9802a151a3394.zip
u-boot-imx-bbc8a8b4cc4d5d7f555765dd5ee9802a151a3394.tar.gz
u-boot-imx-bbc8a8b4cc4d5d7f555765dd5ee9802a151a3394.tar.bz2
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: Simon Glass <sjg@chromium.org> Acked-by: Anatolij Gustschin <agust@denx.de> Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'drivers/video/vidconsole-uclass.c')
-rw-r--r--drivers/video/vidconsole-uclass.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/video/vidconsole-uclass.c b/drivers/video/vidconsole-uclass.c
index f6326b6..832e90a 100644
--- a/drivers/video/vidconsole-uclass.c
+++ b/drivers/video/vidconsole-uclass.c
@@ -170,6 +170,7 @@ static void vidconsole_puts(struct stdio_dev *sdev, const char *s)
while (*s)
vidconsole_put_char(dev, *s++);
+ video_sync(dev->parent);
}
/* Set up the number of rows and colours (rotated drivers override this) */