]> git.sur5r.net Git - u-boot/blobdiff - drivers/serial/sandbox.c
microblaze: Remove CONSOLE_ARG
[u-boot] / drivers / serial / sandbox.c
index cd2f91e28e8f96b0d651cac208cbbe1c4fb12303..45dff98d9d10cea6e28bc2c7ce89723cc8ea7526 100644 (file)
@@ -16,6 +16,7 @@
 #include <lcd.h>
 #include <os.h>
 #include <serial.h>
+#include <video.h>
 #include <linux/compiler.h>
 #include <asm/state.h>
 
@@ -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 */