From fd9eec336ea44cf6223c2c263bfe6c90a8aa4151 Mon Sep 17 00:00:00 2001 From: Yu Shan Date: Mon, 11 Sep 2017 14:03:44 +0800 Subject: [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 --- include/fsl_avb.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/fsl_avb.h') 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__ */ -- cgit v1.2.3