diff options
author | Ben Dooks <ben-linux@fluff.org> | 2008-10-21 09:07:05 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2008-12-15 18:02:58 -0500 |
commit | 3e694d4bc633a5e6192e63a644a628e7bbab3e64 (patch) | |
tree | 53b96aa832850b1e9227feb555d773c4ce116689 /arch/arm/mach-s3c6400/include | |
parent | b73c289cc90138e9f78d487434df0f8eeb2daf9b (diff) |
[ARM] S3C64XX: Demux UART interrupts
Add demux handling for the UART interrupts
generated by the VIC into their seperate IRQs
that the serial driver can register.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/arm/mach-s3c6400/include')
-rw-r--r-- | arch/arm/mach-s3c6400/include/mach/map.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/arm/mach-s3c6400/include/mach/map.h b/arch/arm/mach-s3c6400/include/mach/map.h index de6cdd518cea..83ed3c158693 100644 --- a/arch/arm/mach-s3c6400/include/mach/map.h +++ b/arch/arm/mach-s3c6400/include/mach/map.h | |||
@@ -24,6 +24,14 @@ | |||
24 | #define S3C_PA_UART3 (S3C_PA_UART + 0xC00) | 24 | #define S3C_PA_UART3 (S3C_PA_UART + 0xC00) |
25 | #define S3C_UART_OFFSET (0x400) | 25 | #define S3C_UART_OFFSET (0x400) |
26 | 26 | ||
27 | /* See notes on UART VA mapping in debug-macro.S */ | ||
28 | #define S3C_VA_UARTx(x) (S3C_VA_UART + (S3C_PA_UART & 0xfffff) + ((x) * S3C_UART_OFFSET)) | ||
29 | |||
30 | #define S3C_VA_UART0 S3C_VA_UARTx(0) | ||
31 | #define S3C_VA_UART1 S3C_VA_UARTx(1) | ||
32 | #define S3C_VA_UART2 S3C_VA_UARTx(2) | ||
33 | #define S3C_VA_UART3 S3C_VA_UARTx(3) | ||
34 | |||
27 | #define S3C64XX_PA_SYSCON (0x7E00F000) | 35 | #define S3C64XX_PA_SYSCON (0x7E00F000) |
28 | #define S3C64XX_PA_TIMER (0x7F006000) | 36 | #define S3C64XX_PA_TIMER (0x7F006000) |
29 | 37 | ||