diff options
author | Tushar Behera <tushar.behera@linaro.org> | 2013-06-18 13:22:18 -0400 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2013-06-18 13:22:18 -0400 |
commit | 76c1b8386b31aeda911afaf11f032006d403addf (patch) | |
tree | cfb073c14faa8e2f232334979437018dd1050ab8 /arch/arm/mach-s5pc100 | |
parent | 317ddd256b9c24b0d78fa8018f80f1e495481a10 (diff) |
ARM: SAMSUNG: Consolidate uncompress subroutine
For mach-exynos, uart_base is a pointer and the value is calculated
in the machine folder. For other machines, uart_base is defined as
a macro in platform directory. For symmetry, the uart_base macro
definition is removed and the uart_base calculation is moved to
specific machine folders.
This would help us consolidating uncompress subroutine for s5p64x0.
Signed-off-by: Tushar Behera <tushar.behera@linaro.org>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch/arm/mach-s5pc100')
-rw-r--r-- | arch/arm/mach-s5pc100/include/mach/uncompress.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-s5pc100/include/mach/uncompress.h b/arch/arm/mach-s5pc100/include/mach/uncompress.h index 01ccf535e76c..720e1339425c 100644 --- a/arch/arm/mach-s5pc100/include/mach/uncompress.h +++ b/arch/arm/mach-s5pc100/include/mach/uncompress.h | |||
@@ -23,6 +23,8 @@ static void arch_detect_cpu(void) | |||
23 | /* we do not need to do any cpu detection here at the moment. */ | 23 | /* we do not need to do any cpu detection here at the moment. */ |
24 | fifo_mask = S3C2440_UFSTAT_TXMASK; | 24 | fifo_mask = S3C2440_UFSTAT_TXMASK; |
25 | fifo_max = 63 << S3C2440_UFSTAT_TXSHIFT; | 25 | fifo_max = 63 << S3C2440_UFSTAT_TXSHIFT; |
26 | |||
27 | uart_base = (volatile u8 *)S5P_PA_UART(CONFIG_S3C_LOWLEVEL_UART_PORT); | ||
26 | } | 28 | } |
27 | 29 | ||
28 | #endif /* __ASM_ARCH_UNCOMPRESS_H */ | 30 | #endif /* __ASM_ARCH_UNCOMPRESS_H */ |