xref: /linux/arch/arm/mach-npcm/headsmp.S (revision 46ff24efe04ac96a129dd01138640c3447a525e1)
1// SPDX-License-Identifier: GPL-2.0
2// Copyright (c) 2018 Nuvoton Technology corporation.
3// Copyright 2018 Google, Inc.
4
5#include <linux/linkage.h>
6#include <linux/init.h>
7#include <asm/assembler.h>
8
9.arch armv7-a
10
11/*
12 * The boot ROM does not start secondary CPUs in SVC mode, so we need to do that
13 * here.
14 */
15ENTRY(npcm7xx_secondary_startup)
16	safe_svcmode_maskall r0
17
18	b	secondary_startup
19ENDPROC(npcm7xx_secondary_startup)
20