arm64: Add SMC and HVC commands
authorMichalis Pappas <mpappas@fastmail.fm>
Fri, 13 Apr 2018 07:40:57 +0000 (10:40 +0300)
committerTom Rini <trini@konsulko.com>
Tue, 8 May 2018 13:07:35 +0000 (09:07 -0400)
commit666028fc7c21e7800953b5e928e84fb86f962723
treee442359ce788d8b84a0b561b6a9425a552156503
parent42de6522729ba8c0e60e9f8160e3308b9f785e89
arm64: Add SMC and HVC commands

This patch adds smc and hvc commands, that allow issuing Secure Monitor
Calls and Hypervisor Calls conforming to the ARM SMC Calling Convention.

Add Kconfig items to allow each command can be individually enabled.

Signed-off-by: Michalis Pappas <mpappas@fastmail.fm>
Reviewed-by: Simon Glass <sjg@chromium.org>
cmd/Kconfig
cmd/Makefile
cmd/smccc.c [new file with mode: 0644]