summaryrefslogtreecommitdiff
path: root/include/serial.h
diff options
context:
space:
mode:
authorLokesh Vutla <lokeshvutla@ti.com>2016-05-16 11:47:29 +0530
committerTom Rini <trini@konsulko.com>2016-05-27 15:47:54 -0400
commit3d16389c909657a5fd1017e771ce5acf8aed6189 (patch)
tree460c0e357976c64a1d233fd33b6c958bdb32cfa7 /include/serial.h
parent73ec6960591c57838694ab4056b33438cd2b42c9 (diff)
board: am335x: Allow to choose serial device dynamically
Different AM335x based platforms have different serial consoles. As serial console is Kconfig option a separate defconfig has to be created for each platform. So pass the serial device dynamically. Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Diffstat (limited to 'include/serial.h')
-rw-r--r--include/serial.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/serial.h b/include/serial.h
index e490f9a0cf..47332c5340 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -40,6 +40,10 @@ extern struct serial_device serial1_device;
extern struct serial_device eserial1_device;
extern struct serial_device eserial2_device;
+extern struct serial_device eserial3_device;
+extern struct serial_device eserial4_device;
+extern struct serial_device eserial5_device;
+extern struct serial_device eserial6_device;
extern void serial_register(struct serial_device *);
extern void serial_initialize(void);