]> git.sur5r.net Git - u-boot/commit
arm: omap-common: add secure rom call API for secure devices
authorAndreas Dannenberg <dannenberg@ti.com>
Mon, 27 Jun 2016 14:19:18 +0000 (09:19 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 14 Jul 2016 22:22:19 +0000 (18:22 -0400)
commitd86f7afda4e2c8fc6aad3095959bee9b1f46c48b
tree0c667803aa764b99aae1289ea9db3c1662f02f28
parent51d0638650646e4e2d87600829fe004cd767756e
arm: omap-common: add secure rom call API for secure devices

Adds a generic C-callable API for making secure ROM calls on OMAP and
OMAP-compatible devices. This API provides the important function of
flushing the ROM call arguments to memory from the cache, so that the
secure world will have a coherent view of those arguments. Then is
simply calls the omap_smc_sec routine.

Signed-off-by: Daniel Allred <d-allred@ti.com>
Signed-off-by: Andreas Dannenberg <dannenberg@ti.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Tom Rini <trini@konsulko.com>
arch/arm/cpu/armv7/omap-common/Makefile
arch/arm/cpu/armv7/omap-common/sec-common.c [new file with mode: 0644]
arch/arm/include/asm/omap_sec_common.h [new file with mode: 0644]