]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd: optee_rpmb command for read/write of rpmb from optee
authorRuchika Gupta <ruchika.gupta@nxp.com>
Fri, 23 Oct 2020 08:09:33 +0000 (13:39 +0530)
committerPriyanka Jain <priyanka.jain@nxp.com>
Fri, 23 Oct 2020 11:22:09 +0000 (16:52 +0530)
commitbcc6c574525caa36cd863b7fd78a037d741d622d
treed8d93f908650dc3bd2e18940a6348375f62f256e
parent2a5bbb13cc39102a68fcc31056925427ab44b591
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>
cmd/Kconfig
cmd/Makefile
cmd/optee_rpmb.c [new file with mode: 0644]