summaryrefslogtreecommitdiff
path: root/arch/arm/cpu/armv7/omap-common/Makefile
diff options
context:
space:
mode:
authorAndreas Dannenberg <dannenberg@ti.com>2016-06-27 09:19:18 -0500
committerTom Rini <trini@konsulko.com>2016-07-14 18:22:19 -0400
commitd86f7afda4e2c8fc6aad3095959bee9b1f46c48b (patch)
tree0c667803aa764b99aae1289ea9db3c1662f02f28 /arch/arm/cpu/armv7/omap-common/Makefile
parent51d0638650646e4e2d87600829fe004cd767756e (diff)
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>
Diffstat (limited to 'arch/arm/cpu/armv7/omap-common/Makefile')
-rw-r--r--arch/arm/cpu/armv7/omap-common/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/omap-common/Makefile b/arch/arm/cpu/armv7/omap-common/Makefile
index 87a7ac03f9..3172bae105 100644
--- a/arch/arm/cpu/armv7/omap-common/Makefile
+++ b/arch/arm/cpu/armv7/omap-common/Makefile
@@ -36,3 +36,5 @@ obj-y += boot-common.o
obj-y += lowlevel_init.o
obj-y += mem-common.o
+
+obj-$(CONFIG_TI_SECURE_DEVICE) += sec-common.o