diff options
author | Ji Luo <ji.luo@nxp.com> | 2018-10-10 17:29:35 +0800 |
---|---|---|
committer | Luo Ji <ji.luo@nxp.com> | 2018-10-12 09:02:28 +0800 |
commit | 557981f3ace1f11f1483668dd97076e6c3f1d1cc (patch) | |
tree | d8d386b57edffa414abe0f7c06f8200a30ef616a /include/fsl_avb.h | |
parent | ef7693982cc357e4f17b4b6e34b45084169dd925 (diff) |
MA-13048 [AUTO] Support program rpmb key with fastboot command
Add fastboot command "fastboot oem set-rpmb-key" to program the rpmb
key which should be staged first.
Usage:
1. fastboot stage my-rpmb-key.bin
2. fastboot oem set-rpmb-key
Test: rpmb key programed successfully on imx8qxp.
Change-Id: I95474a6367eb8ef0db16bb38680975b8c45b84f1
Signed-off-by: Ji Luo <ji.luo@nxp.com>
Diffstat (limited to 'include/fsl_avb.h')
-rw-r--r-- | include/fsl_avb.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/fsl_avb.h b/include/fsl_avb.h index f992be91a12..20db2674d28 100644 --- a/include/fsl_avb.h +++ b/include/fsl_avb.h @@ -240,4 +240,7 @@ AvbABFlowResult avb_flow_dual_uboot(AvbABOps* ab_ops, /* Program ATX perm_attr into RPMB partition */ int avb_atx_fuse_perm_attr(uint8_t *staged_buffer, uint32_t size); +/* Initialize rpmb key with the staged key */ +int fastboot_set_rpmb_key(uint8_t *staged_buf, uint32_t key_size); + #endif /* __FSL_AVB_H__ */ |