summaryrefslogtreecommitdiff
path: root/include/fsl_avb.h
diff options
context:
space:
mode:
authorYu Shan <shanyu@google.com>2017-09-11 14:03:44 +0800
committerJi Luo <ji.luo@nxp.com>2018-08-20 21:25:45 +0800
commitfd9eec336ea44cf6223c2c263bfe6c90a8aa4151 (patch)
treecf77d0af4da878487c46bcc3aa801ae80b781009 /include/fsl_avb.h
parentb92b0e1d49778cd31ac33d209fa064caa2bec6ef (diff)
[iot] Support fastboot oem fuse at-perm-attr command
Support "fastboot oem fuse at-perm-attr" command for ATX. The perm_attr will be stored into RPMB which managed by Trusty OS. Modified permanent_attributes related AVB ops that support Trusty OS backed RPMB storage. Change-Id: Id6248570b4294fed3c45270064196bd6b9cf9208 Signed-off-by: Haoran.Wang <elven.wang@nxp.com>
Diffstat (limited to 'include/fsl_avb.h')
-rw-r--r--include/fsl_avb.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/fsl_avb.h b/include/fsl_avb.h
index 2bb3d427cc2..ae290a9f48a 100644
--- a/include/fsl_avb.h
+++ b/include/fsl_avb.h
@@ -219,4 +219,8 @@ AvbABFlowResult avb_single_flow(AvbABOps* ab_ops,
AvbSlotVerifyFlags flags,
AvbHashtreeErrorMode hashtree_error_mode,
AvbSlotVerifyData** out_data);
+
+/* Program ATX perm_attr into RPMB partition */
+int avb_atx_fuse_perm_attr(uint8_t *staged_buffer, uint32_t size);
+
#endif /* __FSL_AVB_H__ */