diff options
author | Changhwan Youn <chaos.youn@samsung.com> | 2010-07-15 22:30:35 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2010-08-05 05:32:41 -0400 |
commit | 88baf2096c1c625c14831bc3438fd1e69bf1cef5 (patch) | |
tree | 92e956f6c47cfe58a066bb8cd07bc2cabd2a1a37 /arch/arm/plat-s5p/cpu.c | |
parent | 8b526ae4ddd7a62397d99856079b59eda5d09360 (diff) |
ARM: S5P: Remove fixed uart offset dependent code
The uart offset between channels has been 0x400 for all S5P series
and to present virtual and physical offsets, both number 0x400 and
S3C_UART_OFFSET have been used together.
This patch removes the use of the number 0x400 and expands the virtual
mapping size of S3C_VA_UART from 4KB to 512KB to support the CPU with
S3C_UART_OFFSET being 0x10000.
Signed-off-by: Changhwan Youn <chaos.youn@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/plat-s5p/cpu.c')
-rw-r--r-- | arch/arm/plat-s5p/cpu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/plat-s5p/cpu.c b/arch/arm/plat-s5p/cpu.c index 75cb8c37ca2c..c478441da68d 100644 --- a/arch/arm/plat-s5p/cpu.c +++ b/arch/arm/plat-s5p/cpu.c | |||
@@ -81,7 +81,7 @@ static struct map_desc s5p_iodesc[] __initdata = { | |||
81 | }, { | 81 | }, { |
82 | .virtual = (unsigned long)S3C_VA_UART, | 82 | .virtual = (unsigned long)S3C_VA_UART, |
83 | .pfn = __phys_to_pfn(S3C_PA_UART), | 83 | .pfn = __phys_to_pfn(S3C_PA_UART), |
84 | .length = SZ_4K, | 84 | .length = SZ_512K, |
85 | .type = MT_DEVICE, | 85 | .type = MT_DEVICE, |
86 | }, { | 86 | }, { |
87 | .virtual = (unsigned long)VA_VIC0, | 87 | .virtual = (unsigned long)VA_VIC0, |