treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500
[linux-2.6-block.git] / arch / arm / mach-keystone / smc.S
CommitLineData
d2912cb1 1/* SPDX-License-Identifier: GPL-2.0-only */
3aae7ab0
SS
2/*
3 * Keystone Secure APIs
4 *
5 * Copyright (C) 2013 Texas Instruments, Inc.
6 * Santosh Shilimkar <santosh.shilimkar@ti.com>
3aae7ab0
SS
7 */
8
9#include <linux/linkage.h>
10
11/**
12 * u32 keystone_cpu_smc(u32 command, u32 cpu, u32 addr)
13 *
14 * Low level CPU monitor API
15 * @command: Monitor command.
16 * @cpu: CPU Number
17 * @addr: Kernel jump address for boot CPU
18 *
19 * Return: Non zero value on failure
20 */
21ENTRY(keystone_cpu_smc)
993211e0 22 stmfd sp!, {r4-r11, lr}
3aae7ab0 23 smc #0
993211e0 24 ldmfd sp!, {r4-r11, pc}
3aae7ab0 25ENDPROC(keystone_cpu_smc)