2 * SMP boot code for secondary CPUs
3 * Based on arch/arm/mach-tegra/headsmp.S
5 * Copyright (C) 2010 NVIDIA, Inc.
6 * Copyright (C) 2013-2014 Broadcom Corporation
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License as
10 * published by the Free Software Foundation version 2.
12 * This program is distributed "as is" WITHOUT ANY WARRANTY of any
13 * kind, whether express or implied; without even the implied warranty
14 * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
18 #include <asm/assembler.h>
19 #include <linux/linkage.h>
20 #include <linux/init.h>
22 .section ".text.head", "ax"
24 ENTRY(brcmstb_secondary_startup)
26 * Ensure CPU is in a sane state by disabling all IRQs and switching
29 setmode PSR_I_BIT | PSR_F_BIT | SVC_MODE, r0
33 ENDPROC(brcmstb_secondary_startup)