From: Ian Campbell Subject: Re: ReL Re: [PATCH 3/4] xen/arm: enable early printk for sun6i Date: Tue, 18 Jun 2013 10:54:37 +0100 Message-ID: <1371549277.9810.25.camel@zakaz.uk.xensource.com> References: <1370004814-30686-1-git-send-email-bjzhang@suse.com> <1370004814-30686-4-git-send-email-bjzhang@suse.com> <1371032258.24512.408.camel@zakaz.uk.xensource.com> <51C0704D020000300005523B@soto.provo.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <51C0704D020000300005523B@soto.provo.novell.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: Bamvor Jian Zhang Cc: andre.przywara@calxeda.com, xen-devel@lists.xen.org, julien.grall@linaro.org, Stefano.Stabellini@eu.citrix.com List-Id: xen-devel@lists.xenproject.org On Tue, 2013-06-18 at 00:35 -0600, Bamvor Jian Zhang wrote: > >> @@ -64,6 +64,11 @@ EARLY_PRINTK_INC := pl011 > >> EARLY_PRINTK_BAUD := 115200 > >> EARLY_UART_BASE_ADDRESS := 0xfff36000 > >> endif > >> +ifeq ($(CONFIG_EARLY_PRINTK), sun6i) > >> +EARLY_PRINTK_INC := sun6i > >> +EARLY_PRINTK_BAUD := 115200 > > > > Since you assume the bootloader did the init I don't think you use this? > it just a remider for me which the baudrate bootloader used. That's not unreasonable. You could stick it in a comment: # 8250 uart configured at 115200 by bootloader Ian.