[RFC PATCH 05/14] ARM: vexpress: fix typo in addruart
Lorenzo Pieralisi
lorenzo.pieralisi at arm.com
Thu Aug 19 04:59:51 EST 2010
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(-)
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
More information about the devicetree-discuss
mailing list