diff options
author | Lokesh Vutla <lokeshvutla@ti.com> | 2016-05-16 11:47:29 +0530 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-05-27 15:47:54 -0400 |
commit | 3d16389c909657a5fd1017e771ce5acf8aed6189 (patch) | |
tree | 460c0e357976c64a1d233fd33b6c958bdb32cfa7 /include/serial.h | |
parent | 73ec6960591c57838694ab4056b33438cd2b42c9 (diff) | |
download | u-boot-3d16389c909657a5fd1017e771ce5acf8aed6189.zip u-boot-3d16389c909657a5fd1017e771ce5acf8aed6189.tar.gz u-boot-3d16389c909657a5fd1017e771ce5acf8aed6189.tar.bz2 |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/serial.h b/include/serial.h index e490f9a..47332c5 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); |