diff options
author | Michalis Pappas <mpappas@fastmail.fm> | 2018-04-13 10:40:57 +0300 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-05-08 09:07:35 -0400 |
commit | 666028fc7c21e7800953b5e928e84fb86f962723 (patch) | |
tree | e442359ce788d8b84a0b561b6a9425a552156503 /cmd/Kconfig | |
parent | 42de6522729ba8c0e60e9f8160e3308b9f785e89 (diff) | |
download | u-boot-666028fc7c21e7800953b5e928e84fb86f962723.zip u-boot-666028fc7c21e7800953b5e928e84fb86f962723.tar.gz u-boot-666028fc7c21e7800953b5e928e84fb86f962723.tar.bz2 |
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>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 4324031..ae49b82 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1445,6 +1445,20 @@ config CMD_HASH saved to memory or to an environment variable. It is also possible to verify a hash against data in memory. +config CMD_HVC + bool "Support the 'hvc' command" + depends on ARM_SMCCC + help + Allows issuing Hypervisor Calls (HVCs). Mostly useful for + development and testing. + +config CMD_SMC + bool "Support the 'smc' command" + depends on ARM_SMCCC + help + Allows issuing Secure Monitor Calls (SMCs). Mostly useful for + development and testing. + config HASH_VERIFY bool "hash -v" depends on CMD_HASH |