summaryrefslogtreecommitdiffstats
path: root/arch/arm/include/asm/hardware/debug-8250.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/arm/include/asm/hardware/debug-8250.S')
-rw-r--r--arch/arm/include/asm/hardware/debug-8250.S9
1 files changed, 8 insertions, 1 deletions
diff --git a/arch/arm/include/asm/hardware/debug-8250.S b/arch/arm/include/asm/hardware/debug-8250.S
index a0e6e173c554..ea5f1710b524 100644
--- a/arch/arm/include/asm/hardware/debug-8250.S
+++ b/arch/arm/include/asm/hardware/debug-8250.S
@@ -1,7 +1,7 @@
/*
* arch/arm/include/asm/hardware/debug-8250.S
*
- * Copyright (C) 1994-1999 Russell King
+ * Copyright (C) 1994-2013 Russell King
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 as
@@ -9,6 +9,13 @@
*/
#include <linux/serial_reg.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
+
#ifndef UART_SHIFT
#define UART_SHIFT CONFIG_DEBUG_UART_8250_SHIFT
#endif