[PATCH] ARM: Exynos: Remove duplicated SROMC static memory mapping
Kukjin Kim
kgene.kim at samsung.com
Wed Dec 28 02:59:16 EST 2011
Thomas Abraham wrote:
>
> SROMC static memory mapping is included in the common s5p initialization
> code. Hence, remove the duplicated SROMC static memory mapping for Exynos.
>
> Signed-off-by: Thomas Abraham <thomas.abraham at linaro.org>
> ---
> This was identified while testing Nicolas Pitre's vmalloc.h removal
> patch series for Exynos. The duplicated static memory mapping caused
> the detection of overlapped memory region (in vm_area_add_early) which
> resulted in boot failure.
>
> arch/arm/mach-exynos/cpu.c | 5 -----
> 1 files changed, 0 insertions(+), 5 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/cpu.c b/arch/arm/mach-exynos/cpu.c
> index 1213027..574f4b9 100644
> --- a/arch/arm/mach-exynos/cpu.c
> +++ b/arch/arm/mach-exynos/cpu.c
> @@ -118,11 +118,6 @@ static struct map_desc exynos4_iodesc[] __initdata =
> {
> .length = SZ_64K,
> .type = MT_DEVICE,
> }, {
> - .virtual = (unsigned long)S5P_VA_SROMC,
> - .pfn = __phys_to_pfn(EXYNOS4_PA_SROMC),
> - .length = SZ_4K,
> - .type = MT_DEVICE,
> - }, {
> .virtual = (unsigned long)S3C_VA_USB_HSPHY,
> .pfn = __phys_to_pfn(EXYNOS4_PA_HSPHY),
> .length = SZ_4K,
> --
> 1.6.6.rc2
Oops, OK. Let me send this before v3.2.
Thanks.
Best regards,
Kgene.
--
Kukjin Kim <kgene.kim at samsung.com>, Senior Engineer,
SW Solution Development Team, Samsung Electronics Co., Ltd.
More information about the linux-arm-kernel
mailing list