u-boot/drivers/tee/optee
Jorge Ramirez-Ortiz 2464b229b5 drivers: optee: rpmb: fix returning CID to TEE
The mmc CID value is one of the input parameters used to provision the
RPMB key. The trusted execution environment expects this value to be
specified in big endian format.

Before this fix, on little endian systems, the value returned by the
linux kernel mmc driver differed from the one returned by u-boot.
This meant that if linux provisioned the RPMB key, u-boot would not
have access to the partition (and the other way around).

Signed-off-by: Jorge Ramirez-Ortiz <jorge@foundries.io>
Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>
2019-12-05 10:28:38 -05:00
..
core.c optee: support routing of rpmb data frames to mmc 2018-10-07 10:47:38 -04:00
Kconfig tee: add sandbox driver 2018-10-07 11:04:01 -04:00
Makefile optee: support routing of rpmb data frames to mmc 2018-10-07 10:47:38 -04:00
optee_msg.h
optee_msg_supplicant.h
optee_private.h optee: support routing of rpmb data frames to mmc 2018-10-07 10:47:38 -04:00
optee_smc.h
rpmb.c drivers: optee: rpmb: fix returning CID to TEE 2019-12-05 10:28:38 -05:00
supplicant.c tee: change return code for REE FS supplicant cmd 2018-12-15 11:49:19 -05:00