ARM: EXYNOS: Remove unused DMC offset and its mapping
Subsystems (3)
PATCH 1/1 ARM: EXYNOS: Remove unused DMC offset and its mapping
Currently there is no user of DMC SFR offsets, so we can safely remove mapping of its SFR address space and cleanup related offset macros from mach-exynos.
Signed-off-by Pankaj Dubey <[email protected]>
--- arch/arm/mach-exynos/exynos.c | 10 ---------- arch/arm/mach-exynos/include/mach/map.h | 3 --- arch/arm/plat-samsung/include/plat/map-s5p.h | 3 --- 3 files changed, 16 deletions(-)
arch/arm/mach-exynos/exynos.c +0 -10
@@ -39,16 +39,6 @@ static struct map_desc exynos4_iodesc[] __initdata = { .pfn = __phys_to_pfn(EXYNOS4_PA_COREPERI), .length = SZ_8K, .type = MT_DEVICE, - }, { - .virtual = (unsigned long)S5P_VA_DMC0, - .pfn = __phys_to_pfn(EXYNOS4_PA_DMC0), - .length = SZ_64K, - .type = MT_DEVICE, - }, { - .virtual = (unsigned long)S5P_VA_DMC1, - .pfn = __phys_to_pfn(EXYNOS4_PA_DMC1), - .length = SZ_64K, - .type = MT_DEVICE, }, };
arch/arm/mach-exynos/include/mach/map.h +0 -3
@@ -20,9 +20,6 @@#define EXYNOS4_PA_CMU 0x10030000 -#define EXYNOS4_PA_DMC0 0x10400000 -#define EXYNOS4_PA_DMC1 0x10410000 -#define EXYNOS4_PA_COREPERI 0x10500000#endif /* __ASM_ARCH_MAP_H */
arch/arm/plat-samsung/include/plat/map-s5p.h +0 -3
@@ -16,9 +16,6 @@#define S5P_VA_CHIPID S3C_ADDR(0x02000000)#define S5P_VA_CMU S3C_ADDR(0x02100000) -#define S5P_VA_DMC0 S3C_ADDR(0x02440000) -#define S5P_VA_DMC1 S3C_ADDR(0x02480000) -#define S5P_VA_COREPERI_BASE S3C_ADDR(0x02800000)#define S5P_VA_COREPERI (x) (S5P_VA_COREPERI_BASE + (x))#define S5P_VA_SCU S5P_VA_COREPERI(0x0)
Signature · 1 line
2.4.5
PATCH 1/1 ARM: EXYNOS: Remove unused DMC offset and its mapping
Quoted 11 lines · Pankaj Dubey
Currently there is no user of DMC SFR offsets, so we can safely remove mapping of its SFR address space and cleanup related offset macros from mach-exynos.
Signed-off-by Pankaj Dubey <[email protected]>--- arch/arm/mach-exynos/exynos.c | 10 ---------- arch/arm/mach-exynos/include/mach/map.h | 3 --- arch/arm/plat-samsung/include/plat/map-s5p.h | 3 --- 3 files changed, 16 deletions(-)
Thanks, applied.
Best regards,
Krzysztof
Krzysztof Kozlowski
maintainerPATCH 1/1 ARM: EXYNOS: Remove unused DMC offset and its mapping
Quoted 13 lines · Krzysztof Kozlowski
Quoted 11 lines · Pankaj Dubey
Currently there is no user of DMC SFR offsets, so we can safely remove mapping of its SFR address space and cleanup related offset macros from mach-exynos.
Signed-off-by Pankaj Dubey <[email protected]>--- arch/arm/mach-exynos/exynos.c | 10 ---------- arch/arm/mach-exynos/include/mach/map.h | 3 --- arch/arm/plat-samsung/include/plat/map-s5p.h | 3 --- 3 files changed, 16 deletions(-)
Quoted 1 line
Thanks, applied.
I mean, v2, applied.
BR,
Krzysztof