mirror of
https://github.com/torvalds/linux.git
synced 2024-12-22 10:56:40 +00:00
9c4566a117
Enable SMP for the SOCFPGA platform. Signed-off-by: Pavel Machek <pavel@denx.de> Signed-off-by: Dinh Nguyen <dinguyen@altera.com> Reviewed-by: Rob Herring <rob.herring@calxeda.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
25 lines
584 B
ArmAsm
25 lines
584 B
ArmAsm
/*
|
|
* Copyright (c) 2003 ARM Limited
|
|
* Copyright (c) u-boot contributors
|
|
* Copyright (c) 2012 Pavel Machek <pavel@denx.de>
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License version 2 as
|
|
* published by the Free Software Foundation.
|
|
*/
|
|
#include <linux/linkage.h>
|
|
#include <linux/init.h>
|
|
|
|
__INIT
|
|
|
|
#define CPU1_START_ADDR 0xffd08010
|
|
|
|
ENTRY(secondary_trampoline)
|
|
movw r0, #:lower16:CPU1_START_ADDR
|
|
movt r0, #:upper16:CPU1_START_ADDR
|
|
|
|
ldr r1, [r0]
|
|
bx r1
|
|
|
|
ENTRY(secondary_trampoline_end)
|