aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPankaj Dubey <pankaj.dubey@samsung.com>2016-08-23 02:01:16 -0400
committerKrzysztof Kozlowski <krzk@kernel.org>2016-08-24 00:42:27 -0400
commita36289756212a79a1b32c02e66ddf11ba33ec7db (patch)
tree0d524babdc32b079da289c6f87c147a9fa84ca87
parent21c66101b41bbc4753a6fc8f9e429729180d41bb (diff)
ARM: EXYNOS: Remove unused DMC and CMU offsets and their mappings
Currently there is no user of DMC and CMU SFR offsets so we can safely remove mapping of their SFR address space and cleanup related offset macros from mach-exynos. Signed-off-by: Pankaj Dubey <pankaj.dubey@samsung.com> Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
-rw-r--r--arch/arm/mach-exynos/exynos.c15
-rw-r--r--arch/arm/mach-exynos/include/mach/map.h5
-rw-r--r--arch/arm/plat-samsung/include/plat/map-s5p.h4
3 files changed, 0 insertions, 24 deletions
diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
index acabf0bffc5d..757fc11de30d 100644
--- a/arch/arm/mach-exynos/exynos.c
+++ b/arch/arm/mach-exynos/exynos.c
@@ -30,25 +30,10 @@
30 30
31static struct map_desc exynos4_iodesc[] __initdata = { 31static struct map_desc exynos4_iodesc[] __initdata = {
32 { 32 {
33 .virtual = (unsigned long)S5P_VA_CMU,
34 .pfn = __phys_to_pfn(EXYNOS4_PA_CMU),
35 .length = SZ_128K,
36 .type = MT_DEVICE,
37 }, {
38 .virtual = (unsigned long)S5P_VA_COREPERI_BASE, 33 .virtual = (unsigned long)S5P_VA_COREPERI_BASE,
39 .pfn = __phys_to_pfn(EXYNOS4_PA_COREPERI), 34 .pfn = __phys_to_pfn(EXYNOS4_PA_COREPERI),
40 .length = SZ_8K, 35 .length = SZ_8K,
41 .type = MT_DEVICE, 36 .type = MT_DEVICE,
42 }, {
43 .virtual = (unsigned long)S5P_VA_DMC0,
44 .pfn = __phys_to_pfn(EXYNOS4_PA_DMC0),
45 .length = SZ_64K,
46 .type = MT_DEVICE,
47 }, {
48 .virtual = (unsigned long)S5P_VA_DMC1,
49 .pfn = __phys_to_pfn(EXYNOS4_PA_DMC1),
50 .length = SZ_64K,
51 .type = MT_DEVICE,
52 }, 37 },
53}; 38};
54 39
diff --git a/arch/arm/mach-exynos/include/mach/map.h b/arch/arm/mach-exynos/include/mach/map.h
index c48ba4fbdfd2..5fb0040cc6d3 100644
--- a/arch/arm/mach-exynos/include/mach/map.h
+++ b/arch/arm/mach-exynos/include/mach/map.h
@@ -18,11 +18,6 @@
18 18
19#define EXYNOS_PA_CHIPID 0x10000000 19#define EXYNOS_PA_CHIPID 0x10000000
20 20
21#define EXYNOS4_PA_CMU 0x10030000
22
23#define EXYNOS4_PA_DMC0 0x10400000
24#define EXYNOS4_PA_DMC1 0x10410000
25
26#define EXYNOS4_PA_COREPERI 0x10500000 21#define EXYNOS4_PA_COREPERI 0x10500000
27 22
28#endif /* __ASM_ARCH_MAP_H */ 23#endif /* __ASM_ARCH_MAP_H */
diff --git a/arch/arm/plat-samsung/include/plat/map-s5p.h b/arch/arm/plat-samsung/include/plat/map-s5p.h
index b63aeebb93f3..0fe2828f9354 100644
--- a/arch/arm/plat-samsung/include/plat/map-s5p.h
+++ b/arch/arm/plat-samsung/include/plat/map-s5p.h
@@ -14,10 +14,6 @@
14#define __ASM_PLAT_MAP_S5P_H __FILE__ 14#define __ASM_PLAT_MAP_S5P_H __FILE__
15 15
16#define S5P_VA_CHIPID S3C_ADDR(0x02000000) 16#define S5P_VA_CHIPID S3C_ADDR(0x02000000)
17#define S5P_VA_CMU S3C_ADDR(0x02100000)
18
19#define S5P_VA_DMC0 S3C_ADDR(0x02440000)
20#define S5P_VA_DMC1 S3C_ADDR(0x02480000)
21 17
22#define S5P_VA_COREPERI_BASE S3C_ADDR(0x02800000) 18#define S5P_VA_COREPERI_BASE S3C_ADDR(0x02800000)
23#define S5P_VA_COREPERI(x) (S5P_VA_COREPERI_BASE + (x)) 19#define S5P_VA_COREPERI(x) (S5P_VA_COREPERI_BASE + (x))