summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fsl_avb.h3
-rw-r--r--include/fsl_fastboot.h5
2 files changed, 8 insertions, 0 deletions
diff --git a/include/fsl_avb.h b/include/fsl_avb.h
index f992be91a1..20db2674d2 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__ */
diff --git a/include/fsl_fastboot.h b/include/fsl_fastboot.h
index 813b52f711..b033aaee91 100644
--- a/include/fsl_fastboot.h
+++ b/include/fsl_fastboot.h
@@ -83,10 +83,15 @@
#define FASTBOOT_PARTITION_FBMISC "fbmisc"
#endif
+#ifdef CONFIG_ANDROID_AUTO_SUPPORT
+#define FASTBOOT_SET_RPMB_KEY "set-rpmb-key"
+#endif
+
#if defined(CONFIG_AVB_ATX) || defined(CONFIG_ANDROID_AUTO_SUPPORT)
#define FASTBOOT_SET_CA_RESP "at-set-ca-response"
#define FASTBOOT_GET_CA_REQ "at-get-ca-request"
#endif /* CONFIG_AVB_ATX || CONFIG_ANDROID_AUTO_SUPPORT */
+
#ifdef CONFIG_ANDROID_THINGS_SUPPORT
#define FASTBOOT_BOOTLOADER_VBOOT_KEY "fuse at-bootloader-vboot-key"
#ifdef CONFIG_AVB_ATX