From: Ian Campbell Subject: Re: [PATCH V3 36/41] xen/arm: Don't use pl011 UART by default for early printk Date: Fri, 10 May 2013 10:46:31 +0100 Message-ID: <1368179191.27857.46.camel@zakaz.uk.xensource.com> References: <1368152307-598-1-git-send-email-julien.grall@linaro.org> <1368152307-598-37-git-send-email-julien.grall@linaro.org> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1368152307-598-37-git-send-email-julien.grall@linaro.org> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Julien Grall Cc: Stefano Stabellini , "patches@linaro.org" , "xen-devel@lists.xen.org" List-Id: xen-devel@lists.xenproject.org On Fri, 2013-05-10 at 03:18 +0100, Julien Grall wrote: > Add CONFIG_EARLY_PRINTK options in configs/arm{32,64}.mk to let the user > to choose if he wants to have early output, ie before the console is initialized. > > This code is specific for each UART. When CONFIG_EARLY_PRINTK is enabled, > Xen will only be able to run on a board with this UART. > > If a developper wants to add support for a new UART, he must implement the > following assembly macro/define: > - EALY_UART_BASE_ADDRESS: variable which contains the physical base address > for the UART > - early_uart_init: initialize the UART > - early_uart_ready: check and wait until the UART can transmit a new > character > - early_uart_transmit: transmit a character > > For more details about the parameters of each function, > see arm{32,64}/debug-pl011.inc comments. > > Signed-off-by: Julien Grall Acked-by: Ian Campbell