Skip to content
Snippets Groups Projects
Commit 0110f509 authored by Simon Glass's avatar Simon Glass
Browse files

sandbox: serial: Don't sync video in SPL


SPL does not support an LCD display so there is no need to sync the video
when there is serial output.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 1c12bcee
No related branches found
No related tags found
No related merge requests found
...@@ -115,7 +115,9 @@ static int sandbox_serial_pending(struct udevice *dev, bool input) ...@@ -115,7 +115,9 @@ static int sandbox_serial_pending(struct udevice *dev, bool input)
return 0; return 0;
os_usleep(100); os_usleep(100);
#ifndef CONFIG_SPL_BUILD
video_sync_all(); video_sync_all();
#endif
if (next_index == serial_buf_read) if (next_index == serial_buf_read)
return 1; /* buffer full */ return 1; /* buffer full */
......
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