aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/debug/pxa.S
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-07-07 00:01:39 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-08-25 17:11:01 +0100
commitc3faa9b7573bf8668869c0ef3075430dc9f053c6 (patch)
tree4f70aaa18d828f7dbd0078de005e166f25546da9 /arch/arm/include/debug/pxa.S
parent4a00364736519764a76af566be98eeeabb6fbce5 (diff)
downloadlinux-linaro-stable-c3faa9b7573bf8668869c0ef3075430dc9f053c6.tar.gz
ARM: debug: provide 8250 debug uart phys/virt address configuration options
Move the definition of the UART register addresses out of the platform specific header file into the Kconfig files. Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'arch/arm/include/debug/pxa.S')
-rw-r--r--arch/arm/include/debug/pxa.S19
1 files changed, 0 insertions, 19 deletions
diff --git a/arch/arm/include/debug/pxa.S b/arch/arm/include/debug/pxa.S
index f10fba50c770..09e54f357894 100644
--- a/arch/arm/include/debug/pxa.S
+++ b/arch/arm/include/debug/pxa.S
@@ -10,23 +10,4 @@
* it under the terms of the GNU General Public License version 2 as
* published by the Free Software Foundation.
*/
-
-#if defined(CONFIG_DEBUG_PXA_UART1)
-#define PXA_UART_REG_PHYS_BASE 0x40100000
-#define PXA_UART_REG_VIRT_BASE 0xf2100000
-#elif defined(CONFIG_DEBUG_MMP_UART2)
-#define PXA_UART_REG_PHYS_BASE 0xd4017000
-#define PXA_UART_REG_VIRT_BASE 0xfe017000
-#elif defined(CONFIG_DEBUG_MMP_UART3)
-#define PXA_UART_REG_PHYS_BASE 0xd4018000
-#define PXA_UART_REG_VIRT_BASE 0xfe018000
-#else
-#error "Select uart for DEBUG_LL"
-#endif
-
- .macro addruart, rp, rv, tmp
- ldr \rp, =PXA_UART_REG_PHYS_BASE
- ldr \rv, =PXA_UART_REG_VIRT_BASE
- .endm
-
#include <asm/hardware/debug-8250.S>