summaryrefslogtreecommitdiff
path: root/include/serial.h
diff options
context:
space:
mode:
authorMichal Simek <monstr@monstr.eu>2012-09-14 00:55:24 +0000
committerAlbert ARIBAUD <albert.u.boot@aribaud.net>2012-10-04 16:46:18 +0200
commit194846f398ef38d5e24c239d264a3f637c685e53 (patch)
tree3351e5aca73e8d649f7decbe9c09bd87d7e9d173 /include/serial.h
parent76abfa57817ada6d4119056097cc32610343fd90 (diff)
serial: Add Zynq serial driver
The driver is used on Xilinx Zynq platform. Signed-off-by: Michal Simek <monstr@monstr.eu> CC: Joe Hershberger <joe.hershberger@gmail.com> CC: Marek Vasut <marex@denx.de> Acked-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/serial.h')
-rw-r--r--include/serial.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/serial.h b/include/serial.h
index d76d6dfb6d4..826b4884963 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -90,6 +90,11 @@ extern struct serial_device bfin_serial2_device;
extern struct serial_device bfin_serial3_device;
#endif
+#if defined(CONFIG_ZYNQ_SERIAL)
+extern struct serial_device uart_zynq_serial0_device;
+extern struct serial_device uart_zynq_serial1_device;
+#endif
+
extern void serial_register(struct serial_device *);
extern void serial_initialize(void);
extern void serial_stdio_init(void);