On Wed, Aug 18, 2010 at 12:59 PM, Lorenzo Pieralisi <[email protected]> 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 <[email protected]> > --- > 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. _______________________________________________ devicetree-discuss mailing list [email protected] https://lists.ozlabs.org/listinfo/devicetree-discuss
