[U-Boot] [PATCH 10/11] [U-BOOT][ZOOM3] Initial support - added OMAP3630 serial devices.

Aldo Cedillo aldo.cedillo at ti.com
Thu Jun 10 22:11:14 CEST 2010


From: Aldo Brett Cedillo Martinez <aldo.cedillo at ti.com>

Signed-off-by: Aldo Brett Cedillo Martinez <aldo.cedillo at ti.com>
---
 common/serial.c  |    2 ++
 include/serial.h |    7 +++++++
 2 files changed, 9 insertions(+), 0 deletions(-)

diff --git a/common/serial.c b/common/serial.c
index fceabfa..2a644ba 100644
--- a/common/serial.c
+++ b/common/serial.c
@@ -92,6 +92,8 @@ struct serial_device *__default_serial_console (void)
 #endif
 #elif defined(CONFIG_OMAP3_ZOOM2)
 		return ZOOM2_DEFAULT_SERIAL_DEVICE;
+#elif defined(CONFIG_OMAP3_ZOOM3)
+		return ZOOM3_DEFAULT_SERIAL_DEVICE;
 #else
 #error No default console
 #endif
diff --git a/include/serial.h b/include/serial.h
index 6513d8e..236e5d1 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -66,6 +66,13 @@ extern struct serial_device zoom2_serial_device2;
 extern struct serial_device zoom2_serial_device3;
 #endif
 
+#if defined(CONFIG_OMAP3_ZOOM3)
+extern struct serial_device zoom3_serial_device0;
+extern struct serial_device zoom3_serial_device1;
+extern struct serial_device zoom3_serial_device2;
+extern struct serial_device zoom3_serial_device3;
+#endif
+
 extern struct serial_device serial_ffuart_device;
 extern struct serial_device serial_btuart_device;
 extern struct serial_device serial_stuart_device;
-- 
1.6.3.3



More information about the U-Boot mailing list