Skip to content
Snippets Groups Projects
Commit 6393c43c authored by Tom Rini's avatar Tom Rini
Browse files

Merge branch 'master' of git://git.denx.de/u-boot-video

parents 45043cf8 d37e96ec
No related branches found
No related tags found
No related merge requests found
...@@ -1160,10 +1160,19 @@ static void video_putc(struct stdio_dev *dev, const char c) ...@@ -1160,10 +1160,19 @@ static void video_putc(struct stdio_dev *dev, const char c)
static void video_puts(struct stdio_dev *dev, const char *s) static void video_puts(struct stdio_dev *dev, const char *s)
{ {
int flush = cfb_do_flush_cache;
int count = strlen(s); int count = strlen(s);
/* temporarily disable cache flush */
cfb_do_flush_cache = 0;
while (count--) while (count--)
video_putc(dev, *s++); video_putc(dev, *s++);
if (flush) {
cfb_do_flush_cache = flush;
flush_cache(VIDEO_FB_ADRS, VIDEO_SIZE);
}
} }
/* /*
......
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