From 3ade5bc4dc24edf5e1f13f3c43a9e8b7f8c2d853 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Mon, 18 Jan 2016 19:52:25 -0700 Subject: dm: video: sandbox: Convert sandbox to use driver model for video Now that driver model support is available, convert sandbox over to use it. We can remove a few of the special hooks that sandbox currently has. Signed-off-by: Simon Glass Acked-by: Anatolij Gustschin --- drivers/serial/sandbox.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'drivers/serial/sandbox.c') diff --git a/drivers/serial/sandbox.c b/drivers/serial/sandbox.c index cd2f91e28e..45dff98d9d 100644 --- a/drivers/serial/sandbox.c +++ b/drivers/serial/sandbox.c @@ -16,6 +16,7 @@ #include #include #include +#include #include #include @@ -114,9 +115,7 @@ static int sandbox_serial_pending(struct udevice *dev, bool input) return 0; os_usleep(100); -#ifdef CONFIG_LCD - lcd_sync(); -#endif + video_sync_all(); if (next_index == serial_buf_read) return 1; /* buffer full */ -- cgit v1.2.1