mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
Merge branch 'master' of git://git.denx.de/u-boot-video
This commit is contained in:
commit
6393c43c18
1 changed files with 9 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
int flush = cfb_do_flush_cache;
|
||||
int count = strlen(s);
|
||||
|
||||
/* temporarily disable cache flush */
|
||||
cfb_do_flush_cache = 0;
|
||||
|
||||
while (count--)
|
||||
video_putc(dev, *s++);
|
||||
|
||||
if (flush) {
|
||||
cfb_do_flush_cache = flush;
|
||||
flush_cache(VIDEO_FB_ADRS, VIDEO_SIZE);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue