diff options
author | Ahmad Fatoum <ahmad@a3f.at> | 2019-11-15 08:52:53 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2019-11-19 11:57:25 +0100 |
commit | d5f14e585c4d07e913f8f52ebd0f22d4d808bee5 (patch) | |
tree | 0feb5b64dfcd058ac0a68feca2441b1ce861b85b /commands/Kconfig | |
parent | 390bc7834ffcee9fe9b94babf0f313bcc4d3b42d (diff) | |
download | barebox-d5f14e585c4d07e913f8f52ebd0f22d4d808bee5.tar.gz barebox-d5f14e585c4d07e913f8f52ebd0f22d4d808bee5.tar.xz |
ARM: psci: factor out smc command into commands/
So far, the smc command was only usable when barebox also provides the
secure monitor. It's useful to have it when barebox is a PSCI consumer
as well to test whether the secure monitor works.
Factor out the code into commands/ in preparation to do so.
No functional change.
Signed-off-by: Ahmad Fatoum <ahmad@a3f.at>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/Kconfig')
-rw-r--r-- | commands/Kconfig | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/commands/Kconfig b/commands/Kconfig index a6db52ae54..08b3af8b20 100644 --- a/commands/Kconfig +++ b/commands/Kconfig @@ -1867,6 +1867,21 @@ config CMD_POWEROFF help Turn the power off. +config CMD_SMC + bool + depends on ARM_PSCI + prompt "PSCI test command" + default CONFIG_ARM_PSCI_DEBUG + help + Secure monitor code test command + + Usage: smc [-nic] + + Options: + -n Install secure monitor and switch to nonsecure mode + -i Show information about installed PSCI version + -c Start secondary CPU core + config CMD_SPI bool depends on SPI |