summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/serial.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/serial.h b/include/serial.h
index bbda3f08c6..43451a3019 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -66,4 +66,10 @@ extern void serial_stdio_init(void);
extern int serial_assign(char * name);
extern void serial_reinit_all(void);
+/* For usbtty */
+extern int usbtty_getc(void);
+extern void usbtty_putc(const char c);
+extern void usbtty_puts(const char *str);
+extern int usbtty_tstc(void);
+
#endif
OpenPOWER on IntegriCloud