All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tom Warren <twarren.nvidia@gmail.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/4 V2] serial: Add Tegra2 serial port support
Date: Fri, 14 Jan 2011 10:11:35 -0700	[thread overview]
Message-ID: <1295025097-25680-3-git-send-email-twarren@nvidia.com> (raw)
In-Reply-To: <1295025097-25680-1-git-send-email-twarren@nvidia.com>

Enable support for serial output on Tegra2 builds

Signed-off-by: Tom Warren <twarren@nvidia.com>
---
 common/serial.c  |    3 ++-
 include/serial.h |    3 ++-
 2 files changed, 4 insertions(+), 2 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;
diff --git a/include/serial.h b/include/serial.h
index 15ab73c..f21d961 100644
--- a/include/serial.h
+++ b/include/serial.h
@@ -27,7 +27,8 @@ extern struct serial_device * default_serial_console (void);
     defined(CONFIG_405EP) || defined(CONFIG_405EZ) || defined(CONFIG_405EX) || \
     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)
 extern struct serial_device serial0_device;
 extern struct serial_device serial1_device;
 #if defined(CONFIG_SYS_NS16550_SERIAL)
-- 
1.7.3.5

  parent reply	other threads:[~2011-01-14 17:11 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-14 17:11 [U-Boot] [PATCH 0/4 V2] Add basic NVIDIA Tegra2 SoC support Tom Warren
2011-01-14 17:11 ` [U-Boot] [PATCH 1/4 V2] arm: Tegra2: " Tom Warren
2011-01-14 17:11 ` Tom Warren [this message]
2011-01-14 17:11 ` [U-Boot] [PATCH 3/4 V2] arm: Tegra2: Add support for NVIDIA Harmony board Tom Warren
2011-01-14 17:11 ` [U-Boot] [PATCH 4/4 V2] arm: Tegra2: Add support for NVIDIA Seaboard board Tom Warren
2011-01-14 19:59 ` [U-Boot] [PATCH 0/4 V2] Add basic NVIDIA Tegra2 SoC support Peter Tyser
2011-01-14 20:41   ` Tom Warren
2011-01-14 21:36     ` Peter Tyser
2011-01-14 22:39       ` Tom Warren
2011-01-14 23:00         ` Albert ARIBAUD
2011-01-14 23:23           ` Peter Tyser
2011-01-15  0:01             ` Wolfgang Denk
2011-01-17 23:27         ` Wolfgang Denk
2011-01-17 23:27     ` Wolfgang Denk
2011-01-19 21:23       ` Tom Warren

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1295025097-25680-3-git-send-email-twarren@nvidia.com \
    --to=twarren.nvidia@gmail.com \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.