]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - drivers/serial/sandbox.c
sandbox: Add LCD driver
[karo-tx-uboot.git] / drivers / serial / sandbox.c
index ffff5e149774bb6950ec6f9097ea1c6730fa5261..c27b5b8fe52b4420e2b5b6160d193a758eff8653 100644 (file)
@@ -11,6 +11,7 @@
  */
 
 #include <common.h>
+#include <lcd.h>
 #include <os.h>
 #include <serial.h>
 #include <linux/compiler.h>
@@ -60,6 +61,9 @@ static int sandbox_serial_tstc(void)
        ssize_t count;
 
        os_usleep(100);
+#ifdef CONFIG_LCD
+       lcd_sync();
+#endif
        if (next_index == serial_buf_read)
                return 1;       /* buffer full */