mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-24 21:54:01 +00:00
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: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
1c12bcee70
commit
0110f509c8
1 changed files with 2 additions and 0 deletions
|
@ -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 */
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue