diff options
author | Ruchika Gupta <ruchika.gupta@nxp.com> | 2020-10-23 11:09:33 +0300 |
---|---|---|
committer | Priyanka Jain <priyanka.jain@nxp.com> | 2020-10-23 14:22:09 +0300 |
commit | bcc6c574525caa36cd863b7fd78a037d741d622d (patch) | |
tree | d8d93f908650dc3bd2e18940a6348375f62f256e /cmd/Kconfig | |
parent | 2a5bbb13cc39102a68fcc31056925427ab44b591 (diff) | |
download | u-boot-bcc6c574525caa36cd863b7fd78a037d741d622d.tar.xz |
cmd: optee_rpmb command for read/write of rpmb from optee
Enable "optee_rpmb" command to write/read named persistent values
created on RPMB by opening session with OPTEE AVB TA.
This provides easy test for establishing a session with OPTEE
TA and storage of persistent data in MMC RPMB.
It includes following subcommands:
optee_rpmb read_pvalue:read persistent values on rpmb via OPTEE AVB TA
optee_rpmb write_pvalue:write persistent values on rpmb via OPTEE AVB
TA
Signed-off-by: Ruchika Gupta <ruchika.gupta@nxp.com>
[Rebased]
Signed-off-by: Priyanka Jain <priyanka.jain@nxp.com>
Diffstat (limited to 'cmd/Kconfig')
-rw-r--r-- | cmd/Kconfig | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/cmd/Kconfig b/cmd/Kconfig index a3166e4f31..860c00ff62 100644 --- a/cmd/Kconfig +++ b/cmd/Kconfig @@ -1066,6 +1066,14 @@ config CMD_CLONE initial flashing by external block device without network or usb support. +config CMD_OPTEE_RPMB + bool "Enable read/write support on RPMB via OPTEE" + depends on SUPPORT_EMMC_RPMB && OPTEE + help + Enable the commands for reading, writing persistent named values + in the Replay Protection Memory Block partition in eMMC by + using Persistent Objects in OPTEE + config CMD_MTD bool "mtd" depends on MTD |