HV: trusty: Get rpmb_key from OSloader when init trusty

Extend struct trusty_boot_param to hold rpmb_key.
Copy rpmb_key from trusty_boot_param when initialize
trusty.

Signed-off-by: Qi Yadong <yadong.qi@intel.com>
Reviewed-by: Zhu Bing <bing.zhu@intel.com>
Reviewed-by: Wang Kai <kai.z.wang@intel.com>
This commit is contained in:
Qi Yadong
2018-06-25 10:59:49 +08:00
committed by lijinxia
parent 260e84769d
commit 3e2d1fba6b
2 changed files with 23 additions and 2 deletions

View File

@@ -256,6 +256,12 @@ struct trusty_boot_param {
/** trusty runtime memory size */
uint32_t mem_size;
/** padding */
uint32_t padding;
/** rpmb key */
uint8_t rpmb_key[64];
} __aligned(8);
/**