From: Julien Grall <julien.grall@linaro.org>
To: Andre Przywara <andre.przywara@calxeda.com>
Cc: xen-devel@lists.xen.org, Ian.Campbell@citrix.com,
stefano.stabellini@eu.citrix.com
Subject: Re: [PATCH v2 5/5] arm/early-printk: add Calxeda Midway UART support
Date: Fri, 24 May 2013 15:03:27 +0100 [thread overview]
Message-ID: <519F732F.7020304@linaro.org> (raw)
In-Reply-To: <1369403250-9132-6-git-send-email-andre.przywara@calxeda.com>
On 05/24/2013 02:47 PM, Andre Przywara wrote:
> With the help of the previous patches add a stanza to
> xen/arch/arm/Rules.mk to specify the UART configuration of the
> Calxeda Midway machine.
> The information has been taken from the Linux kernel's .dts file.
> This can be enabled by adding "CONFIG_EARLY_PRINTK=midway" to
> Config.mk.
>
> Signed-off-by: Andre Przywara <andre.przywara@calxeda.com>
Reviewed-by: Julien Grall <julien.grall@linaro.org>
> ---
> docs/misc/arm/early-printk.txt | 1 +
> xen/arch/arm/Rules.mk | 5 +++++
> 2 files changed, 6 insertions(+)
>
> diff --git a/docs/misc/arm/early-printk.txt b/docs/misc/arm/early-printk.txt
> index e423cc4..fbc3208 100644
> --- a/docs/misc/arm/early-printk.txt
> +++ b/docs/misc/arm/early-printk.txt
> @@ -11,6 +11,7 @@ CONFIG_EARLY_PRINTK=mach
> where mach is the name of the machine:
> - vexpress: printk with pl011 for versatile express
> - exynos5250: printk with the second UART
> + - midway: printk with the pl011 on Calxeda Midway processors
> - fastmodel: printk on ARM Fastmodel software emulators
>
> The base address and baud rate is hardcoded in xen/arch/arm/Rules.mk,
> diff --git a/xen/arch/arm/Rules.mk b/xen/arch/arm/Rules.mk
> index d010c69..422ed04 100644
> --- a/xen/arch/arm/Rules.mk
> +++ b/xen/arch/arm/Rules.mk
> @@ -59,6 +59,11 @@ EARLY_PRINTK_INIT_UART := y
> EARLY_PRINTK_BAUD := 115200
> EARLY_UART_BASE_ADDRESS := 0x12c20000
> endif
> +ifeq ($(CONFIG_EARLY_PRINTK), midway)
> +EARLY_PRINTK_INC := pl011
> +EARLY_PRINTK_BAUD := 115200
> +EARLY_UART_BASE_ADDRESS := 0xfff36000
> +endif
>
> ifneq ($(EARLY_PRINTK_INC),)
> EARLY_PRINTK := y
next prev parent reply other threads:[~2013-05-24 14:03 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-05-24 13:47 [PATCH v2 0/5] arm/early-printk: Improve reusability and add Calxeda support Andre Przywara
2013-05-24 13:47 ` [PATCH v2 1/5] arm/early-printk: calculate baud rate divisor from user provided value Andre Przywara
2013-05-24 14:01 ` Julien Grall
2013-05-24 13:47 ` [PATCH v2 2/5] arm/early-printk: allow skipping of UART init Andre Przywara
2013-05-24 14:02 ` Julien Grall
2013-05-24 13:47 ` [PATCH v2 3/5] arm/early-printk: move UART base address to Rules.mk Andre Przywara
2013-05-24 14:02 ` Julien Grall
2013-05-24 13:47 ` [PATCH v2 4/5] arm/early-printk: add support for ARM Fastmodel Andre Przywara
2013-05-24 14:03 ` Julien Grall
2013-05-24 13:47 ` [PATCH v2 5/5] arm/early-printk: add Calxeda Midway UART support Andre Przywara
2013-05-24 14:03 ` Julien Grall [this message]
2013-05-30 8:59 ` [PATCH v2 0/5] arm/early-printk: Improve reusability and add Calxeda support Ian Campbell
2013-05-30 9:14 ` Andre Przywara
2013-05-30 9:22 ` Ian Campbell
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=519F732F.7020304@linaro.org \
--to=julien.grall@linaro.org \
--cc=Ian.Campbell@citrix.com \
--cc=andre.przywara@calxeda.com \
--cc=stefano.stabellini@eu.citrix.com \
--cc=xen-devel@lists.xen.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).