xref: /linux/arch/arm/mach-npcm/headsmp.S (revision 780f6a9afe8b0e303406a39f6968cf1daa6c3d51)
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