[RFC PATCH 05/14] ARM: vexpress: fix typo in addruart

Grant Likely grant.likely at secretlab.ca
Thu Aug 19 06:58:58 EST 2010


On Wed, Aug 18, 2010 at 12:59 PM, Lorenzo Pieralisi
<lorenzo.pieralisi at arm.com> wrote:
> The new infrastructure for low level debug in ARM requires the
> addruart macro to be defined on a platform specific basis to get
> rid of static addresses init in machine descriptors.
> Uart physical and virtual addresses should be retrieved through
> the addruart macro.
>
> This patch fixes the addruart macro for Versatile Express board
> in order to return the proper uart physical address.
>
> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi at arm.com>
> ---
>  arch/arm/mach-vexpress/include/mach/debug-macro.S |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
>

I'll leave this one to Jeremy.  I've not picked up any of the debug
macro patches into my tree.

g.

> diff --git a/arch/arm/mach-vexpress/include/mach/debug-macro.S b/arch/arm/mach-vexpress/include/mach/debug-macro.S
> index e0382fd..050d65e 100644
> --- a/arch/arm/mach-vexpress/include/mach/debug-macro.S
> +++ b/arch/arm/mach-vexpress/include/mach/debug-macro.S
> @@ -15,7 +15,7 @@
>                .macro  addruart,rp,rv
>                mov     \rp, #DEBUG_LL_UART_OFFSET
>                orr     \rv, \rp, #0xf8000000   @ virtual base
> -               orr     \rv, \rp, #0x10000000   @ physical base
> +               orr     \rp, \rp, #0x10000000   @ physical base
>                .endm
>
>  #include <asm/hardware/debug-pl01x.S>
> --
> 1.6.3.3
>
>



-- 
Grant Likely, B.Sc., P.Eng.
Secret Lab Technologies Ltd.


More information about the devicetree-discuss mailing list