cmd: Add support for optee commands
Add the basic 'hello world ta' command which increment
of the value passed. This provides easy test for
establishing a session with OP-TEE TA and verify.
It includes following "hello world ta" subcommands:
optee hello; default value '0' is passed and gets incremented.
optee hello <value>; value to increment via OP-TEE HELLO
WORLD TA.
To enable the OP-TEE side HELLO WORLD example please refer
https://optee.readthedocs.io/en/latest/building/gits/optee_examples/optee_examples.html
Signed-off-by: Venkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Reviewed-by: Jerome Forissier <jerome.forissier@linaro.org>
(cherry picked from commit e3cf80fbe0)
This commit is contained in:
committed by
Simon Glass
parent
7900b0eef5
commit
22bb3e8b32
@@ -1480,6 +1480,12 @@ config CMD_OPTEE_RPMB
|
||||
in the Replay Protection Memory Block partition in eMMC by
|
||||
using Persistent Objects in OPTEE
|
||||
|
||||
config CMD_OPTEE
|
||||
bool "Enable OP-TEE commands"
|
||||
depends on OPTEE
|
||||
help
|
||||
OP-TEE commands support.
|
||||
|
||||
config CMD_MTD
|
||||
bool "mtd"
|
||||
depends on MTD
|
||||
|
||||
Reference in New Issue
Block a user