summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/debug/mxs.S
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2013-07-07 12:32:16 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2013-08-25 17:11:05 +0100
commit5c972af407419c79e1e922fb241fa0d06b4f1ffd (patch)
treede278f0e6111103cbc6efdad8250e2dbc443f15f /arch/arm/include/debug/mxs.S
parent0b4cccbec60678212eccdb42dc1e1c233ddf7092 (diff)
downloadop-kernel-dev-5c972af407419c79e1e922fb241fa0d06b4f1ffd.zip
op-kernel-dev-5c972af407419c79e1e922fb241fa0d06b4f1ffd.tar.gz
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/debug/mxs.S')
-rw-r--r--arch/arm/include/debug/mxs.S14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/arm/include/debug/mxs.S b/arch/arm/include/debug/mxs.S
index d869515..8a10ed2 100644
--- a/arch/arm/include/debug/mxs.S
+++ b/arch/arm/include/debug/mxs.S
@@ -10,18 +10,4 @@
* published by the Free Software Foundation.
*
*/
-
-#ifdef CONFIG_DEBUG_IMX23_UART
-#define UART_PADDR 0x80070000
-#elif defined (CONFIG_DEBUG_IMX28_UART)
-#define UART_PADDR 0x80074000
-#endif
-
-#define UART_VADDR 0xfe100000
-
- .macro addruart, rp, rv, tmp
- ldr \rp, =UART_PADDR @ physical
- ldr \rv, =UART_VADDR @ virtual
- .endm
-
#include <asm/hardware/debug-pl01x.S>
OpenPOWER on IntegriCloud