diff options
author | Ji Luo <ji.luo@nxp.com> | 2018-08-23 19:12:45 +0800 |
---|---|---|
committer | faqiang.zhu <faqiang.zhu@nxp.com> | 2018-11-12 09:18:37 +0800 |
commit | c14e9d4e276c408db200a632029a8193944348f3 (patch) | |
tree | 92582988f4a35fa40766fd34842436d91feb9e72 /include/fsl_avb.h | |
parent | d4a0dbd9a467984d7f4a4861213298e2b95a3327 (diff) |
[iot] Support lock vboot for Android Things
Supoort "fastboot oem at-lock-vboot" command for Android
Things, this command can only be called after perm-attr
have been fused.
Test: build and boot ok on imx7d_pico and AIY.
Change-Id: Ifcfeb2a38d88c5d12b46a1d9ea61b182ae2e7bcb
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Diffstat (limited to 'include/fsl_avb.h')
-rw-r--r-- | include/fsl_avb.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/fsl_avb.h b/include/fsl_avb.h index 2964b799d3..1b8d5f9d01 100644 --- a/include/fsl_avb.h +++ b/include/fsl_avb.h @@ -257,5 +257,7 @@ int avb_atx_get_unlock_challenge(struct AvbAtxOps* atx_ops, /* Verify ATX unlock credential */ int avb_atx_verify_unlock_credential(struct AvbAtxOps* atx_ops, uint8_t *staged_buffer); +/* Check if the perm-attr have been fused. */ +bool perm_attr_are_fused(void); #endif /* __FSL_AVB_H__ */ |