diff options
author | Igor Opaniuk | 2024-04-04 15:19:49 +0200 |
---|---|---|
committer | Ilias Apalodimas | 2024-04-18 16:04:48 +0300 |
commit | dfac18e944f23bf64ce3638aa8d57f9e0c0e6c26 (patch) | |
tree | f5be968c73709dcd13a215a039e00e7a42d5b65e /cmd/Kconfig | |
parent | fbdaafbb80506bc931d3940396cb86d257703de1 (diff) |
cmd: optee_rpmb: build cmd for sandbox
Support CMD_OPTEE_RPMB for SANDBOX configurations.
Test:
$ ./u-boot -d arch/sandbox/dts/test.dtb
...
=> optee_rpmb write_pvalue test_variable test_value
Wrote 11 bytes
=> optee_rpmb read_pvalue test_variable 11
Read 11 bytes, value = test_value
Reviewed-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Tested-by: Mattijs Korpershoek <mkorpershoek@baylibre.com>
Signed-off-by: Igor Opaniuk <igor.opaniuk@gmail.com>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index 8eeb99eea5e..9dd90da1d9b 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1348,7 +1348,9 @@ config CMD_CLONE config CMD_OPTEE_RPMB bool "Enable read/write support on RPMB via OPTEE" - depends on SUPPORT_EMMC_RPMB && OPTEE + depends on (SUPPORT_EMMC_RPMB && OPTEE) || SANDBOX_TEE + default y if SANDBOX_TEE + select OPTEE_TA_AVB if SANDBOX_TEE help Enable the commands for reading, writing persistent named values in the Replay Protection Memory Block partition in eMMC by |