diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2014-02-23 19:39:18 -0500 |
---|---|---|
committer | Kukjin Kim <kgene.kim@samsung.com> | 2014-02-23 19:39:18 -0500 |
commit | d9671ca923445aa870ecc34df3db01dd602d87fc (patch) | |
tree | 9ccca979f8799058ce43aaff9cde9084438c550f /arch | |
parent | ffd80ecce5af7476ae87e16cb9f418080ebb3667 (diff) |
ARM: EXYNOS: Remove uncompress.h
Now that we can use the generic uncompres.h file, there is no need
for the machine specific header. Remove it.
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-exynos/include/mach/uncompress.h | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/arch/arm/mach-exynos/include/mach/uncompress.h b/arch/arm/mach-exynos/include/mach/uncompress.h deleted file mode 100644 index 5d7ce36be46f..000000000000 --- a/arch/arm/mach-exynos/include/mach/uncompress.h +++ /dev/null | |||
@@ -1,48 +0,0 @@ | |||
1 | /* | ||
2 | * Copyright (c) 2010-2012 Samsung Electronics Co., Ltd. | ||
3 | * http://www.samsung.com | ||
4 | * | ||
5 | * EXYNOS - uncompress code | ||
6 | * | ||
7 | * This program is free software; you can redistribute it and/or modify | ||
8 | * it under the terms of the GNU General Public License version 2 as | ||
9 | * published by the Free Software Foundation. | ||
10 | */ | ||
11 | |||
12 | #ifndef __ASM_ARCH_UNCOMPRESS_H | ||
13 | #define __ASM_ARCH_UNCOMPRESS_H __FILE__ | ||
14 | |||
15 | #include <asm/mach-types.h> | ||
16 | |||
17 | #include <mach/map.h> | ||
18 | #include <plat/uncompress.h> | ||
19 | |||
20 | static unsigned int __raw_readl(unsigned int ptr) | ||
21 | { | ||
22 | return *((volatile unsigned int *)ptr); | ||
23 | } | ||
24 | |||
25 | static void arch_detect_cpu(void) | ||
26 | { | ||
27 | u32 chip_id = __raw_readl(EXYNOS_PA_CHIPID); | ||
28 | |||
29 | /* | ||
30 | * product_id is bits 31:12 | ||
31 | * bits 23:20 describe the exynosX family | ||
32 | * bits 27:24 describe the exynosX family in exynos5420 | ||
33 | */ | ||
34 | chip_id >>= 20; | ||
35 | |||
36 | if ((chip_id & 0x0f) == 0x5 || (chip_id & 0xf0) == 0x50) | ||
37 | uart_base = (volatile u8 *)EXYNOS5_PA_UART + (S3C_UART_OFFSET * CONFIG_S3C_LOWLEVEL_UART_PORT); | ||
38 | else | ||
39 | uart_base = (volatile u8 *)EXYNOS4_PA_UART + (S3C_UART_OFFSET * CONFIG_S3C_LOWLEVEL_UART_PORT); | ||
40 | |||
41 | /* | ||
42 | * For preventing FIFO overrun or infinite loop of UART console, | ||
43 | * fifo_max should be the minimum fifo size of all of the UART channels | ||
44 | */ | ||
45 | fifo_mask = S5PV210_UFSTAT_TXMASK; | ||
46 | fifo_max = 15 << S5PV210_UFSTAT_TXSHIFT; | ||
47 | } | ||
48 | #endif /* __ASM_ARCH_UNCOMPRESS_H */ | ||