1
0
Fork 0

[iot] Support ATX key version protect in non-secure uboot

Use rollback index interface to trap into Trusty OS directly.
This interface added due new libavb upgrade.

Change-Id: Id9d158d6e48ff33386613d2920a1bd2d95f68b6f
Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
zero-sugar
Yu Shan 2018-05-31 13:54:36 +08:00 committed by Ji Luo
parent cce0bd7463
commit 4ecf3a4c27
1 changed files with 4 additions and 0 deletions

View File

@ -1633,7 +1633,11 @@ static AvbAtxOps fsl_avb_atx_ops = {
.ops = NULL,
.read_permanent_attributes = fsl_read_permanent_attributes,
.read_permanent_attributes_hash = fsl_read_permanent_attributes_hash,
#ifdef CONFIG_IMX_TRUSTY_OS
.set_key_version = fsl_write_rollback_index_rpmb
#else
.set_key_version = fsl_set_key_version
#endif
};
#endif
static AvbOps fsl_avb_ops = {