Skip to content
Snippets Groups Projects
Commit 521d377f authored by Simon Glass's avatar Simon Glass Committed by Anatolij Gustschin
Browse files

sandbox: Drop video-sync in serial driver


With sandbox, when U-Boot is waiting for input it syncs the video
display, since presumably the user has finished typing.

Now that cyclic is used for video syncing, we can drop this. Cyclic
will automatically call the video_idle() function when idle.

Signed-off-by: Simon Glass's avatarSimon Glass <sjg@chromium.org>
parent 47ef76d6
No related branches found
Tags v2024.07-rc5
No related merge requests found
Pipeline #21828 canceled
......@@ -138,8 +138,6 @@ static int sandbox_serial_pending(struct udevice *dev, bool input)
return 0;
os_usleep(100);
if (IS_ENABLED(CONFIG_VIDEO) && !IS_ENABLED(CONFIG_SPL_BUILD))
video_sync_all();
avail = membuff_putraw(&priv->buf, 100, false, &data);
if (!avail)
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