ARM: OMAP2+: Introduce check for OP-TEE in omap_secure_init()
authorAndrew F. Davis <afd@ti.com>
Thu, 2 Jan 2020 21:19:41 +0000 (16:19 -0500)
committerTony Lindgren <tony@atomide.com>
Mon, 13 Jan 2020 18:06:25 +0000 (10:06 -0800)
commitdbebc8bfe9dcb760b72ec7e2bb9de30a174ff8dc
treed228822cb180b38dd4525bf38be207c3b897c39d
parentdb711893eac81442fb5cde3801e183d3abfe5693
ARM: OMAP2+: Introduce check for OP-TEE in omap_secure_init()

This check and associated flag can be used to signal the presence
of OP-TEE on the platform. This can be used to determine which
SMC calls to make to perform secure operations.

Signed-off-by: Andrew F. Davis <afd@ti.com>
Reviewed-by: Lokesh Vutla <lokeshvutla@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/omap-secure.c
arch/arm/mach-omap2/omap-secure.h