arm: omap5: Add function to make an SMC call on cpu1
authorHarinarayan Bhatta <harinarayan@ti.com>
Tue, 29 Nov 2016 22:33:22 +0000 (16:33 -0600)
committerTom Rini <trini@konsulko.com>
Sat, 3 Dec 2016 18:21:20 +0000 (13:21 -0500)
commit4c158b9a7d05973e6924835726a2358b383d622f
tree2e41f4963f656d3f350016a33c2fb7526576eefc
parent7e719ee7d8eb61f459a38f69a825823603879258
arm: omap5: Add function to make an SMC call on cpu1

On DRA7xx platform, CPU Core 1 is not used in u-boot. However, in some
cases it is need to make secure API calls from Core 1. This patch adds
an assembly function to make a secure (SMC) call from CPU Core #1.

Signed-off-by: Harinarayan Bhatta <harinarayan@ti.com>
Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/include/asm/omap_common.h
arch/arm/mach-omap2/omap5/Makefile
arch/arm/mach-omap2/omap5/sec_entry_cpu1.S [new file with mode: 0644]