diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-07-07 12:32:16 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@arm.linux.org.uk> | 2013-08-25 17:11:05 +0100 |
commit | 5c972af407419c79e1e922fb241fa0d06b4f1ffd (patch) | |
tree | de278f0e6111103cbc6efdad8250e2dbc443f15f /arch/arm/include/asm/hardware | |
parent | 0b4cccbec60678212eccdb42dc1e1c233ddf7092 (diff) | |
download | linux-stable-5c972af407419c79e1e922fb241fa0d06b4f1ffd.tar.gz linux-stable-5c972af407419c79e1e922fb241fa0d06b4f1ffd.tar.bz2 linux-stable-5c972af407419c79e1e922fb241fa0d06b4f1ffd.zip |
ARM: debug: provide PL01x debug uart phys/virt address configuration options
Move the definition of the UART register addresses out of the platform
specific header files into the Kconfig files.
Acked-by: Ryan Mallon <rmallon@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/asm/hardware')
-rw-r--r-- | arch/arm/include/asm/hardware/debug-pl01x.S | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/arch/arm/include/asm/hardware/debug-pl01x.S b/arch/arm/include/asm/hardware/debug-pl01x.S index f9fd083eff63..9d1e286cecfd 100644 --- a/arch/arm/include/asm/hardware/debug-pl01x.S +++ b/arch/arm/include/asm/hardware/debug-pl01x.S @@ -12,6 +12,13 @@ */ #include <linux/amba/serial.h> +#ifdef CONFIG_DEBUG_UART_PHYS + .macro addruart, rp, rv, tmp + ldr \rp, =CONFIG_DEBUG_UART_PHYS + ldr \rv, =CONFIG_DEBUG_UART_VIRT + .endm +#endif + .macro senduart,rd,rx strb \rd, [\rx, #UART01x_DR] .endm |