From: Simon Glass Date: Sun, 12 Jun 2016 23:32:54 -0600 Subject: [U-Boot] [PATCH v2 13/55] sandbox: serial: Don't sync video in SPL In-Reply-To: <1465796016-18375-1-git-send-email-sjg@chromium.org> References: <1465796016-18375-1-git-send-email-sjg@chromium.org> Message-ID: <1465796016-18375-14-git-send-email-sjg@chromium.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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 --- Changes in v2: None drivers/serial/sandbox.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c index 58f882b..bcc3465 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 */ -- 2.8.0.rc3.226.g39d4020