On Fri, Jun 06, 2014 at 01:49:11PM -0700, Doug Anderson wrote:
> This works and IMHO is much cleaner because it totally removes the
> U-Boot dependency. I'll cleanup to not be so insane and post:
>
> diff --git a/arch/arm/mach-exynos/mcpm-exynos.c
> b/arch/arm/mach-exynos/mcpm-exynos.c
> index 0498d0b..9c5df7b 100644
> --- a/arch/arm/mach-exynos/mcpm-exynos.c
> +++ b/arch/arm/mach-exynos/mcpm-exynos.c
> @@ -290,6 +290,14 @@ static void __naked
> exynos_pm_power_up_setup(unsigned int affinity_level)
> "b cci_enable_port_for_self");
> }
>
> +static void __naked exynos_mcpm_secondary_cpu_start(void)
> +{
> + asm volatile ("\n"
> + "ldr r0, [pc, #0]\n"
> + "bx r0\n"
> + ".word 0" );
> +}
> +
So does it matter whether the above code gets assembled as thumb or
ARM? How does your caller know which ISA mode to enter this fragment
in?
--
FTTC broadband for 0.8mile line: now at 9.7Mbps down 460kbps up... slowly
improving, and getting towards what was expected from it.
--
To unsubscribe from this list: send the line "unsubscribe linux-samsung-soc" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html