aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-s3c24xx
diff options
context:
space:
mode:
authorHeiko Stuebner <heiko@sntech.de>2014-05-15 17:59:18 -0400
committerKukjin Kim <kgene.kim@samsung.com>2014-05-25 15:05:00 -0400
commit1899de2894970fbeece3a97dd69d5321fb00972b (patch)
tree9e7c190036d6a23f2f8d070110b2819969e9340a /arch/arm/mach-s3c24xx
parentdaf67dfc5989495c887cfdbe76be72b7db724e60 (diff)
ARM: S3C24XX: use generic DEBUG_UART_PHY/_VIRT in debug macro
This removes the need for mach/-headers in the debug macro. Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s3c24xx')
-rw-r--r--arch/arm/mach-s3c24xx/include/mach/debug-macro.S9
1 files changed, 2 insertions, 7 deletions
diff --git a/arch/arm/mach-s3c24xx/include/mach/debug-macro.S b/arch/arm/mach-s3c24xx/include/mach/debug-macro.S
index fbe3e711ebab..b1f54dc4888c 100644
--- a/arch/arm/mach-s3c24xx/include/mach/debug-macro.S
+++ b/arch/arm/mach-s3c24xx/include/mach/debug-macro.S
@@ -12,18 +12,13 @@
12 * published by the Free Software Foundation. 12 * published by the Free Software Foundation.
13*/ 13*/
14 14
15#include <mach/map.h>
16#include <linux/serial_s3c.h> 15#include <linux/serial_s3c.h>
17 16
18#define S3C2410_UART1_OFF (0x4000) 17#define S3C2410_UART1_OFF (0x4000)
19 18
20 .macro addruart, rp, rv, tmp 19 .macro addruart, rp, rv, tmp
21 ldr \rp, = S3C24XX_PA_UART 20 ldr \rp, = CONFIG_DEBUG_UART_PHYS
22 ldr \rv, = S3C24XX_VA_UART 21 ldr \rv, = CONFIG_DEBUG_UART_VIRT
23#if CONFIG_DEBUG_S3C_UART != 0
24 add \rp, \rp, #(S3C2410_UART1_OFF * CONFIG_DEBUG_S3C_UART)
25 add \rv, \rv, #(S3C2410_UART1_OFF * CONFIG_DEBUG_S3C_UART)
26#endif
27 .endm 22 .endm
28 23
29 .macro fifo_full_s3c2410 rd, rx 24 .macro fifo_full_s3c2410 rd, rx