summaryrefslogtreecommitdiff
path: root/arch/arm/mach-keystone/keystone.c
diff options
context:
space:
mode:
authorSantosh Shilimkar <santosh.shilimkar@ti.com>2013-06-10 16:20:17 (GMT)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>2013-06-17 22:35:35 (GMT)
commitf07cb6a089644e2334c3523af589d9233cc18c74 (patch)
tree916c2c2ee1e558b7369d565e7d0fbe8443f153b8 /arch/arm/mach-keystone/keystone.c
parent828989ad87af15b555f783a70efa2cc526b35b3f (diff)
downloadlinux-f07cb6a089644e2334c3523af589d9233cc18c74.tar.xz
ARM: keystone: Enable SMP support on Keystone machines
Add basic SMP support for Keystone machines. This does not include support for CPU hotplug for now. Cc: Arnd Bergmann <arnd@arndb.de> Cc: arm@kernel.org Acked-by: Olof Johansson <olof@lixom.net> Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Diffstat (limited to 'arch/arm/mach-keystone/keystone.c')
-rw-r--r--arch/arm/mach-keystone/keystone.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/mach-keystone/keystone.c b/arch/arm/mach-keystone/keystone.c
index a67c19b..fe4d9ff 100644
--- a/arch/arm/mach-keystone/keystone.c
+++ b/arch/arm/mach-keystone/keystone.c
@@ -19,6 +19,9 @@
#include <asm/mach/map.h>
#include <asm/mach/arch.h>
#include <asm/mach/time.h>
+#include <asm/smp_plat.h>
+
+#include "keystone.h"
#define PLL_RESET_WRITE_KEY_MASK 0xffff0000
#define PLL_RESET_WRITE_KEY 0x5a69
@@ -65,6 +68,7 @@ void keystone_restart(char mode, const char *cmd)
}
DT_MACHINE_START(KEYSTONE, "Keystone")
+ .smp = smp_ops(keystone_smp_ops),
.init_machine = keystone_init,
.dt_compat = keystone_match,
.restart = keystone_restart,