cmd: Add support for optee commands
authorVenkatesh Yadav Abbarapu <venkatesh.abbarapu@amd.com>
Thu, 19 Dec 2024 04:39:17 +0000 (10:09 +0530)
committerTom Rini <trini@konsulko.com>
Thu, 2 Jan 2025 17:07:54 +0000 (11:07 -0600)
commite3cf80fbe02d2d46e11c20c3c0e9032d01ae33e2
tree6c5addcc328d9569b5053645079ad5703484fa66
parent937830713657640ee610234dabb6c5c648245dd8
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>
cmd/Kconfig
cmd/Makefile
cmd/optee.c [new file with mode: 0644]