]>
Commit | Line | Data |
---|---|---|
f0c9eb4e BD |
1 | /* arch/arm/mach-s3c2410/include/mach/debug-macro.S |
2 | * | |
3 | * This program is free software; you can redistribute it and/or modify | |
4 | * it under the terms of the GNU General Public License version 2 as | |
5 | * published by the Free Software Foundation. | |
6 | */ | |
7 | ||
8 | /* pull in the relevant register and map files. */ | |
9 | ||
10 | #include <mach/map.h> | |
11 | #include <plat/regs-serial.h> | |
12 | ||
0ea12930 JK |
13 | .macro addruart, rp, rv |
14 | ldr \rp, = S3C24XX_PA_UART | |
15 | ldr \rv, = S3C24XX_VA_UART | |
f0c9eb4e | 16 | #if CONFIG_DEBUG_S3C_UART != 0 |
0ea12930 JK |
17 | add \rp, \rp, #(S3C2410_UART1_OFF * CONFIG_DEBUG_S3C_UART) |
18 | add \rv, \rv, #(S3C2410_UART1_OFF * CONFIG_DEBUG_S3C_UART) | |
f0c9eb4e BD |
19 | #endif |
20 | .endm | |
21 | ||
22 | /* include the reset of the code which will do the work, we're only | |
23 | * compiling for a single cpu processor type so the default of s3c2440 | |
24 | * will be fine with us. | |
25 | */ | |
26 | ||
27 | #include <plat/debug-macro.S> |