From 9df731a176aab8e03b984b681b1bea01ccff6644 Mon Sep 17 00:00:00 2001 From: hc <hc@nodka.com> Date: Mon, 06 Nov 2023 07:23:06 +0000 Subject: [PATCH] rk3568 rt uboot init --- u-boot/include/android_avb/avb_ops_user.h | 16 ++++++++++++++++ 1 files changed, 16 insertions(+), 0 deletions(-) diff --git a/u-boot/include/android_avb/avb_ops_user.h b/u-boot/include/android_avb/avb_ops_user.h index 36a98da..28e807b 100755 --- a/u-boot/include/android_avb/avb_ops_user.h +++ b/u-boot/include/android_avb/avb_ops_user.h @@ -63,6 +63,22 @@ /* Frees an AvbOps instance previously allocated with avb_ops_device_new(). */ void avb_ops_user_free(AvbOps* ops); +struct preloaded_partition { + uint8_t *addr; + size_t size; // 0 means the partition hasn't yet been preloaded +}; + +struct AvbOpsData { + struct AvbOps *ops; + const char *iface; + const char *devnum; + const char *slot_suffix; + struct preloaded_partition boot; + struct preloaded_partition vendor_boot; + struct preloaded_partition init_boot; + struct preloaded_partition resource; +}; + #ifdef __cplusplus } #endif -- Gitblit v1.6.2