Re: [PATCH V2 1/2] ARM: EXYNOS: Update secondary boot addr for secure mode

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20 May 2014 09:20, Tushar Behera <tushar.behera@xxxxxxxxxx> wrote:
> From: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
>
> Almost all Exynos-series of SoCs that run in secure mode don't need
> additional offset for every CPU, with Exynos4412 being the only
> exception.
>
> Tested on Origen-Quad (Exynos4412) and Arndale-Octa (Exynos5420).
>
> While at it, fix the coding style (space around *).
>
> Signed-off-by: Sachin Kamat <sachin.kamat@xxxxxxxxxx>
> Signed-off-by: Tushar Behera <tushar.behera@xxxxxxxxxx>
> ---
> Changes for V2:
> * Changed the condition statement as per review comment
> * Fixed coding style
>
>  arch/arm/mach-exynos/firmware.c |    9 +++++++--
>  1 file changed, 7 insertions(+), 2 deletions(-)
>
> diff --git a/arch/arm/mach-exynos/firmware.c b/arch/arm/mach-exynos/firmware.c
> index 739bdc8..7d18103 100644
> --- a/arch/arm/mach-exynos/firmware.c
> +++ b/arch/arm/mach-exynos/firmware.c
> @@ -50,8 +50,13 @@ static int exynos_set_cpu_boot_addr(int cpu, unsigned long boot_addr)
>
>         boot_reg = sysram_ns_base_addr + 0x1c;
>
> -       if (!soc_is_exynos4212())
> -               boot_reg += 4*cpu;
> +       /*
> +        * Almost all Exynos-series of SoCs that run in secure mode don't need
> +        * additional offset for every CPU, with Exynos4412 being the only
> +        * exception.
> +        */
> +       if (soc_is_exynos4412())
> +               boot_reg += 4 * cpu;
>
>         __raw_writel(boot_addr, boot_reg);
>         return 0;
> --
> 1.7.9.5
>

 Kukjin,
This series is required for properly booting A15 cores on Arndale octa.
Please apply them.


-- 
With warm regards,
Sachin
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SoC Development]     [Linux Rockchip Development]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Linux SCSI]     [Yosemite News]

  Powered by Linux