summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2009-10-31 12:37:44 -0500
committerRemy Bohmer <linux@bohmer.net>2009-12-20 12:51:51 +0100
commit6299487ef5dcdb06e0394f5955755c8dd9ce707b (patch)
treedc83c6b795686df7002ac345b960b81fe52773fd
parent25374bfbf3a6c6624d8db512c95a4960e3a84635 (diff)
downloadu-boot-imx-6299487ef5dcdb06e0394f5955755c8dd9ce707b.zip
u-boot-imx-6299487ef5dcdb06e0394f5955755c8dd9ce707b.tar.gz
u-boot-imx-6299487ef5dcdb06e0394f5955755c8dd9ce707b.tar.bz2
USBTTY make some function declarations easier to use.
Zoom2 needs to use these declarations and the include directory is a better place from them than in the middle of the driver directory. It did not make sense to create a new file for just a couple of lines so they were appended to the serial.h Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
-rw-r--r--include/serial.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/serial.h b/include/serial.h
index bbda3f0..43451a3 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