From: "Jon Fraser" Subject: Re: [PATCH] xen/arm: Add EARLY_PRINT support for Broadcom brcm platform. Date: Thu, 31 Oct 2013 15:39:38 -0400 Message-ID: <1383248378.2465.68.camel@chaos.and.broadcom.com> References: <1383011431-29539-1-git-send-email-jfraser@broadcom.com> <1383232046.25018.101.camel@dagon.hellion.org.uk> Reply-To: jfraser@broadcom.com Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1383232046.25018.101.camel@dagon.hellion.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: stefano.stabellini@eu.citrix.com, jfraser@broadcom.com, julien.grall@linaro.org, xen-devel@lists.xen.org List-Id: xen-devel@lists.xenproject.org Yes, it's harmless to the other platforms. Verified with test builds. Jon On Thu, 2013-10-31 at 15:07 +0000, Ian Campbell wrote: > On Mon, 2013-10-28 at 21:50 -0400, Jon Fraser wrote: > > Enable early print support for the Broadcom A15 platform, brcm. > > > > Signed-off-by: Jon Fraser > > Acked-by: Ian Campbell > > I suppose this relies on your other patch to handle UARTs which are > offset into the page to be functional but it is harmless (at least to ! > brcm) platforms until then? > > > --- > > 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 bd79b26..c27c2eb 100644 > > --- a/xen/arch/arm/Rules.mk > > +++ b/xen/arch/arm/Rules.mk > > @@ -77,6 +77,11 @@ EARLY_PRINTK_INC := 8250 > > EARLY_UART_BASE_ADDRESS := 0x01c28000 > > EARLY_UART_REG_SHIFT := 2 > > endif > > +ifeq ($(CONFIG_EARLY_PRINTK), brcm) > > +EARLY_PRINTK_INC := 8250 > > +EARLY_UART_BASE_ADDRESS := 0xF0406B00 > > +EARLY_UART_REG_SHIFT := 2 > > +endif > > > > ifneq ($(EARLY_PRINTK_INC),) > > EARLY_PRINTK := y > > >