[PATCH 1/7] fip: add struct fip_image_desc::private_data

Ahmad Fatoum a.fatoum at pengutronix.de
Wed Apr 9 07:01:29 PDT 2025


For use by FIP consumer code, add a private data field that can be
assigned as the consumer wishes.

Signed-off-by: Ahmad Fatoum <a.fatoum at pengutronix.de>
---
 include/fiptool.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/fiptool.h b/include/fiptool.h
index 73b0fbe3983a..1b70824a8694 100644
--- a/include/fiptool.h
+++ b/include/fiptool.h
@@ -23,6 +23,7 @@ struct fip_image_desc {
 	char              *cmdline_name;
 	int                action;
 	char              *action_arg;
+	void              *private_data;
 	struct fip_image  *image;
 	struct list_head  list;
 };
-- 
2.39.5




More information about the barebox mailing list