From 7d07b3ae8ddad407913c5301877e694430a3263f Mon Sep 17 00:00:00 2001
From: hc <hc@nodka.com>
Date: Thu, 23 Nov 2023 08:24:31 +0000
Subject: [PATCH] add build kerneldeb

---
 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