projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1c12bce
)
sandbox: serial: Don't sync video in SPL
author
Simon Glass
<sjg@chromium.org>
Mon, 4 Jul 2016 17:57:53 +0000
(11:57 -0600)
committer
Simon Glass
<sjg@chromium.org>
Fri, 15 Jul 2016 02:40:24 +0000
(20:40 -0600)
SPL does not support an LCD display so there is no need to sync the video
when there is serial output.
Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/serial/sandbox.c
patch
|
blob
|
history
diff --git
a/drivers/serial/sandbox.c
b/drivers/serial/sandbox.c
index 58f882b22a607b4b698e8c0d5e89642e56b208f5..bcc3465312e8819c71ff3667b3847b09e6de84bd 100644
(file)
--- a/
drivers/serial/sandbox.c
+++ b/
drivers/serial/sandbox.c
@@
-115,7
+115,9
@@
static int sandbox_serial_pending(struct udevice *dev, bool input)
return 0;
os_usleep(100);
+#ifndef CONFIG_SPL_BUILD
video_sync_all();
+#endif
if (next_index == serial_buf_read)
return 1; /* buffer full */