diff options
author | Nicolas Pitre <nicolas.pitre@linaro.org> | 2011-08-31 22:55:46 -0400 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2011-09-26 10:11:25 -0400 |
commit | 639da5ee374ba8f070690bbd355ca30139ce145a (patch) | |
tree | 21ec04820d870a0cd21f257193057355baa3cbc1 /arch/arm/mach-zynq | |
parent | 57c89707dae01e0142e7185b6e8ff71b120f4c4d (diff) |
ARM: add an extra temp register to the low level debugging addruart macro
Some platforms (like OMAP not to name it) are doing rather complicated
hacks just to determine the base UART address to use. Let's give their
addruart macro some slack by providing an extra work register which will
allow for much needed cleanups.
This is basically a no-op as this commit is only adding the extra argument
to the macro but no one is using it yet.
Signed-off-by: nicolas Pitre <nicolas.pitre@linaro.org>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Diffstat (limited to 'arch/arm/mach-zynq')
-rw-r--r-- | arch/arm/mach-zynq/include/mach/debug-macro.S | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-zynq/include/mach/debug-macro.S b/arch/arm/mach-zynq/include/mach/debug-macro.S index 9f664d5eb81d..3ab0be1f6191 100644 --- a/arch/arm/mach-zynq/include/mach/debug-macro.S +++ b/arch/arm/mach-zynq/include/mach/debug-macro.S | |||
@@ -17,7 +17,7 @@ | |||
17 | #include <mach/zynq_soc.h> | 17 | #include <mach/zynq_soc.h> |
18 | #include <mach/uart.h> | 18 | #include <mach/uart.h> |
19 | 19 | ||
20 | .macro addruart, rp, rv | 20 | .macro addruart, rp, rv, tmp |
21 | ldr \rp, =LL_UART_PADDR @ physical | 21 | ldr \rp, =LL_UART_PADDR @ physical |
22 | ldr \rv, =LL_UART_VADDR @ virtual | 22 | ldr \rv, =LL_UART_VADDR @ virtual |
23 | .endm | 23 | .endm |