From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Grall Subject: Re: [PATCH 4/4] arm/early-printk: add Calxeda Midway UART support Date: Fri, 24 May 2013 13:38:43 +0100 Message-ID: <519F5F53.8020405@citrix.com> References: <1369392152-1305-1-git-send-email-andre.przywara@calxeda.com> <1369392152-1305-5-git-send-email-andre.przywara@calxeda.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1369392152-1305-5-git-send-email-andre.przywara@calxeda.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Andre Przywara Cc: xen-devel@lists.xen.org, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On 05/24/2013 11:42 AM, Andre Przywara wrote: > With the help of the last three 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. Could add a line in docs/misc/arm/early-printk.txt to document this new early printk? Thanks, Julien > Signed-off-by: Andre Przywara > --- > xen/arch/arm/Rules.mk | 5 +++++ > 1 file changed, 5 insertions(+) > > diff --git a/xen/arch/arm/Rules.mk b/xen/arch/arm/Rules.mk > index 37a8271..cfc9e4d 100644 > --- a/xen/arch/arm/Rules.mk > +++ b/xen/arch/arm/Rules.mk > @@ -54,6 +54,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