]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: at91: add sam_linux_is_optee_available() function
authorClément Léger <clement.leger@bootlin.com>
Mon, 6 Jun 2022 14:57:00 +0000 (16:57 +0200)
committerClaudiu Beznea <claudiu.beznea@microchip.com>
Wed, 20 Jul 2022 08:03:45 +0000 (11:03 +0300)
commit56f70d2ed085a9b598dab4220e1c59599b4f19cb
tree08a42a1ba6f90011f1db04b4622d7cdde2c1cab2
parentf040cca4b0da0180bf9de9141ef5c95f60f85182
ARM: at91: add sam_linux_is_optee_available() function

Add sam_linux_is_optee_available() which allows to know if OP-TEE is
available for Linux. This function is used by code which needs to
know if we running with OP-TEE available or not.

Signed-off-by: Clément Léger <clement.leger@bootlin.com>
[claudiu.beznea: edit commit title and message, renamed
 sam_linux_is_in_normal_world() into sam_linux_is_optee_available()]
Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Link: https://lore.kernel.org/r/20220606145701.185552-2-clement.leger@bootlin.com
arch/arm/mach-at91/sam_secure.c
arch/arm/mach-at91/sam_secure.h