From: Simon Glass Date: Mon, 4 Jul 2016 17:57:53 +0000 (-0600) Subject: sandbox: serial: Don't sync video in SPL X-Git-Tag: KARO-TXSD-2017-03-15~557^2~49 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=0110f509c85de1e4bc7fff301a1194fdee4bdc5f;p=karo-tx-uboot.git 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 --- diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c index 58f882b22a..bcc3465312 100644 --- 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 */