aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/include/debug/nspire.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/nspire.S
parent4a00364736519764a76af566be98eeeabb6fbce5 (diff)
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/nspire.S')
-rw-r--r--arch/arm/include/debug/nspire.S4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/include/debug/nspire.S b/arch/arm/include/debug/nspire.S
index 887463672b66..3e9329aa17b9 100644
--- a/arch/arm/include/debug/nspire.S
+++ b/arch/arm/include/debug/nspire.S
@@ -8,7 +8,7 @@
* published by the Free Software Foundation.
*
*/
-
+#ifdef CONFIG_DEBUG_NSPIRE_CX_UART
#define NSPIRE_EARLY_UART_PHYS_BASE 0x90020000
#define NSPIRE_EARLY_UART_VIRT_BASE 0xfee20000
@@ -17,8 +17,6 @@
ldr \rv, =(NSPIRE_EARLY_UART_VIRT_BASE) @ virtual base address
.endm
-
-#ifdef CONFIG_DEBUG_NSPIRE_CX_UART
#include <asm/hardware/debug-pl01x.S>
#endif