ARM: at91: add code to handle secure calls
Since OP-TEE now has a more complete support for sama5d2, add necessary code to perform SMC calls. The detection of OP-TEE is based on a specific device-tree node path (/firmware/optee) such has done by some other SoC. A check is added to avoid doing SMC calls without having OP-TEE. Signed-off-by:Clément Léger <clement.leger@bootlin.com> Signed-off-by:
Claudiu Beznea <claudiu.beznea@microchip.com> Signed-off-by:
Nicolas Ferre <nicolas.ferre@microchip.com>
Showing
- arch/arm/mach-at91/Makefile 1 addition, 1 deletionarch/arm/mach-at91/Makefile
- arch/arm/mach-at91/sam_secure.c 46 additions, 0 deletionsarch/arm/mach-at91/sam_secure.c
- arch/arm/mach-at91/sam_secure.h 14 additions, 0 deletionsarch/arm/mach-at91/sam_secure.h
- arch/arm/mach-at91/sama5.c 2 additions, 0 deletionsarch/arm/mach-at91/sama5.c
Loading
Please register or sign in to comment