Re: [PATCH v3 2/6] ARM: EXYNOS: Remove i2c sys configuration related code
From: Tomasz Figa
Date: Tue Jun 10 2014 - 09:53:05 EST
Hi Pankaj,
On 10.05.2014 09:20, Pankaj Dubey wrote:
> Since all these code has been moved into i2c driver, now we can
> safely remove them from machine files.
>
> CC: Russell King <linux@xxxxxxxxxxxxxxxx>
> Signed-off-by: Pankaj Dubey <pankaj.dubey@xxxxxxxxxxx>
> ---
> arch/arm/mach-exynos/exynos.c | 38 +------------------------------
> arch/arm/mach-exynos/include/mach/map.h | 3 ---
> arch/arm/mach-exynos/pm.c | 10 --------
> arch/arm/mach-exynos/regs-sys.h | 22 ------------------
> 4 files changed, 1 insertion(+), 72 deletions(-)
> delete mode 100644 arch/arm/mach-exynos/regs-sys.h
>
> diff --git a/arch/arm/mach-exynos/exynos.c b/arch/arm/mach-exynos/exynos.c
> index 59eb1f1..09063ee 100644
> --- a/arch/arm/mach-exynos/exynos.c
> +++ b/arch/arm/mach-exynos/exynos.c
> @@ -29,11 +29,11 @@
> #include <asm/memory.h>
>
> #include <plat/cpu.h>
> +#include <mach/map.h>
>
> #include "common.h"
> #include "mfc.h"
> #include "regs-pmu.h"
> -#include "regs-sys.h"
>
> #define L2_AUX_VAL 0x7C470001
> #define L2_AUX_MASK 0xC200ffff
> @@ -42,11 +42,6 @@ static struct regmap *exynos_pmu_regmap;
>
> static struct map_desc exynos4_iodesc[] __initdata = {
> {
> - .virtual = (unsigned long)S3C_VA_SYS,
> - .pfn = __phys_to_pfn(EXYNOS4_PA_SYSCON),
> - .length = SZ_64K,
> - .type = MT_DEVICE,
Rest of this patch doesn't touch anything related to Exynos4, but I
boot-tested removing this on Exynos4412-based Trats2 board and it works, so
Reviewed-by: Tomasz Figa <t.figa@xxxxxxxxxxx>
Best regards,
Tomasz
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/