summaryrefslogtreecommitdiff
path: root/common/serial.c
diff options
context:
space:
mode:
authorTom Warren <twarren.nvidia@gmail.com>2011-01-27 10:58:06 +0000
committerAlbert Aribaud <albert.aribaud@free.fr>2011-02-21 08:30:55 +0100
commit2ee3678159c30dfbe1c0ed2511197e29b0e1f85c (patch)
tree0f1cc2f7f22594ad99a78dc78a020afd2abc841e /common/serial.c
parent3f82b1d3abf492038e14237f9c89bd55c31770ad (diff)
downloadu-boot-imx-2ee3678159c30dfbe1c0ed2511197e29b0e1f85c.zip
u-boot-imx-2ee3678159c30dfbe1c0ed2511197e29b0e1f85c.tar.gz
u-boot-imx-2ee3678159c30dfbe1c0ed2511197e29b0e1f85c.tar.bz2
serial: Add Tegra2 serial port support
Signed-off-by: Tom Warren <twarren@nvidia.com>
Diffstat (limited to 'common/serial.c')
-rw-r--r--common/serial.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/common/serial.c b/common/serial.c
index 051ae4e..8ebf9a5 100644
--- a/common/serial.c
+++ b/common/serial.c
@@ -41,7 +41,8 @@ struct serial_device *__default_serial_console (void)
#elif defined(CONFIG_4xx) \
|| defined(CONFIG_MB86R0x) || defined(CONFIG_MPC5xxx) \
|| defined(CONFIG_MPC83xx) || defined(CONFIG_MPC85xx) \
- || defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520)
+ || defined(CONFIG_MPC86xx) || defined(CONFIG_SYS_SC520) \
+ || defined(CONFIG_TEGRA2)
#if defined(CONFIG_CONS_INDEX) && defined(CONFIG_SYS_NS16550_SERIAL)
#if (CONFIG_CONS_INDEX==1)
return &eserial1_device;