[PATCH] ARM: SoCFPGA: simplify secondary trampoline
Dinh Nguyen
dinguyen at opensource.altera.com
Fri Apr 22 08:11:19 PDT 2016
On 04/21/2016 01:53 AM, Sascha Hauer wrote:
> The secondary CPU startup trampoline goes through the system managers
> cpu1start_addr register. This seems unnecesary, the trampoline code
> can be simplified by directly loading the program counter with the
> address of secondary_startup(). Taken from the Rockchip code which
> does it exactly like this. While at it add a socfpga_ namespace to
> the trampoline functions.
>
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
> arch/arm/mach-socfpga/core.h | 4 ++--
> arch/arm/mach-socfpga/headsmp.S | 27 +++++++---------------
> arch/arm/mach-socfpga/platsmp.c | 51 +++++++++++++++++++----------------------
> arch/arm/mach-socfpga/socfpga.c | 9 --------
> 4 files changed, 33 insertions(+), 58 deletions(-)
>
Applied!
Thanks,
Dinh
More information about the linux-arm-kernel
mailing list