[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] [PATCH v01 3/3] xen/arm: dra7: Add UART base address for early logging



On Thu, 2014-06-26 at 14:15 +0300, Andrii Tseglytskyi wrote:
> DRA7 platform uses UART1 for console logging. Patch adds
> it address to make early printk working.
> 
> Signed-off-by: Andrii Tseglytskyi <andrii.tseglytskyi@xxxxxxxxxxxxxxx>
> ---
>  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 aa2e79f..7552d40 100644
> --- a/xen/arch/arm/Rules.mk
> +++ b/xen/arch/arm/Rules.mk
> @@ -67,6 +67,11 @@ EARLY_PRINTK_INC := 8250
>  EARLY_UART_BASE_ADDRESS := 0x48020000
>  EARLY_UART_REG_SHIFT := 2
>  endif
> +ifeq ($(CONFIG_EARLY_PRINTK), dra7)
> +EARLY_PRINTK_INC := 8250
> +EARLY_UART_BASE_ADDRESS := 0x4806A000

How does this relate to omap5432 which has a UART at 0x48020000?

This depends on my previous question about how similar these platforms
are. If they are just variants which have similar UARTs at the same
address but your platform just happens to use UART1 instead or UART0
then perhaps these should be called omap5-uart0 and omap5-uart1 etc?


Ian.


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.