From: Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
To: Olof Johansson <olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org>,
Colin Cross <ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org>
Cc: Doug Anderson <dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org>,
Tom Warren <twarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>,
Simon Glass <sjg-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org>,
linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org,
linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
Stephen Warren <swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
Subject: [PATCH 0/4] ARM: tegra: Automatic UART selection for earlyprintk
Date: Tue, 3 Jan 2012 15:25:16 -0700 [thread overview]
Message-ID: <1325629520-23018-1-git-send-email-swarren@nvidia.com> (raw)
This series allows a Tegra zImage to automatically select the UART to use
for the zImage decompressor and early printk, based on information from
the bootloader. The code scans each UART, looking for one that is clocked,
is out of reset, and that the bootloader has written 'D' (for 'D'ebug) to
the scratch register.
At present, the ChromiumOS branch of U-Boot sets up UARTs in this way. If
this patch is accepted into the kernel, I'll upstream the U-Boot change to
mainline U-Boot.
This is important, since different boards use different UARTs, and it's
nice not to have to configure the kernel differently when switching
boards.
This patch series depends on patch "[PATCH V2] arm/tegra: Support Tegra30
in decompressor UART setup" for context.
Doug Anderson (2):
ARM: tegra: Introduce define DEBUG_UART_SHIFT
ARM: tegra: uncompress.h: Store UART address in a variable
Stephen Warren (2):
ARM: tegra: uncompress.h: Choose a UART at runtime
ARM: tegra: Pass uncompress.h UART selection to DEBUG_LL
arch/arm/mach-tegra/common.c | 17 ++++
arch/arm/mach-tegra/include/mach/debug-macro.S | 87 +++++++++++++++++---
arch/arm/mach-tegra/include/mach/uncompress.h | 108 +++++++++++++++++++++---
3 files changed, 190 insertions(+), 22 deletions(-)
next reply other threads:[~2012-01-03 22:25 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-03 22:25 Stephen Warren [this message]
[not found] ` <1325629520-23018-1-git-send-email-swarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org>
2012-01-03 22:25 ` [PATCH 1/4] ARM: tegra: Introduce define DEBUG_UART_SHIFT Stephen Warren
2012-01-03 22:25 ` [PATCH 2/4] ARM: tegra: uncompress.h: Store UART address in a variable Stephen Warren
2012-01-03 22:25 ` [PATCH 3/4] ARM: tegra: uncompress.h: Choose a UART at runtime Stephen Warren
2012-01-03 22:25 ` [PATCH 4/4] ARM: tegra: Pass uncompress.h UART selection to DEBUG_LL Stephen Warren
2012-01-04 23:45 ` [PATCH 0/4] ARM: tegra: Automatic UART selection for earlyprintk Doug Anderson
[not found] ` <CAD=FV=X8p5RXKc0CW4KYzmoCw7tkOrahD2tnqKfXqqRR6MEAJQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-04 23:47 ` Doug Anderson
[not found] ` <CAD=FV=WE51BbXdkQ9zjVCR_vjuHR5qn0YR+RteL-Q30bZ59BCA-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2012-01-05 22:03 ` Stephen Warren
2012-01-19 4:42 ` Olof Johansson
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=1325629520-23018-1-git-send-email-swarren@nvidia.com \
--to=swarren-ddmlm1+adcrqt0dzr+alfa@public.gmane.org \
--cc=ccross-z5hGa2qSFaRBDgjK7y7TUQ@public.gmane.org \
--cc=dianders-F7+t8E8rja9g9hUCZPvPmw@public.gmane.org \
--cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \
--cc=linux-tegra-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=olof-nZhT3qVonbNeoWH0uzbU5w@public.gmane.org \
--cc=sjg-hpIqsD4AKlfQT0dZR+AlfA@public.gmane.org \
--cc=twarren-DDmLM1+adcrQT0dZR+AlfA@public.gmane.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).