summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rix <Tom.Rix@windriver.com>2009-05-31 10:44:37 (GMT)
committerWolfgang Denk <wd@denx.de>2009-06-12 18:39:53 (GMT)
commit660888b7fb8840ce169dcd2589e49ab44c46b87b (patch)
tree150f29155c8460803bb60cf4b070bbbadbb4c604 /common
parent3ea201b016ab259a5ac8824af767569522768c47 (diff)
downloadu-boot-fsl-qoriq-660888b7fb8840ce169dcd2589e49ab44c46b87b.tar.xz
ZOOM2 Add serial support.
Zoom2 serial is in general supplied by one of the 4 UARTS on the debug board. The default serial is from the USB connector on left side of the debug board. The USB connector will produce 2 of the 4 UARTS. On your host pick the first enumeration. The details of the setting of the serial gpmc setup are not available. The values were provided by another party. The serial port set up is the same with Zoom1. Baud rate 115200, 8 bit data, no parity, 1 stop bit, no flow. The kernel bootargs are console=ttyS3,115200n8 Signed-off-by: Tom Rix <Tom.Rix@windriver.com>
Diffstat (limited to 'common')
-rw-r--r--common/serial.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/common/serial.c b/common/serial.c
index 09385d0..dd80e7c 100644
--- a/common/serial.c
+++ b/common/serial.c
@@ -68,6 +68,8 @@ struct serial_device *__default_serial_console (void)
#else
#error "CONFIG_SERIAL? missing."
#endif
+#elif defined(CONFIG_OMAP3_ZOOM2)
+ return ZOOM2_DEFAULT_SERIAL_DEVICE;
#else
#error No default console
#endif