From e0f083a09b295306e0b31ebc9ea5e3a848d12b84 Mon Sep 17 00:00:00 2001 From: dp-arm Date: Mon, 14 Nov 2016 15:54:32 +0000 Subject: fiptool: Prepare ground for expanding the set of images at runtime To allow operating on images with unknown UUIDs, fiptool needs to be able to track an arbitrary amount of images and not be limited to the set of images described by the builtin table. Convert the table to a list to accommodate this scenario. Change-Id: I0e6d738eece7795d74fc72d165a3098f223d4414 Signed-off-by: dp-arm --- tools/fiptool/tbbr_config.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tools/fiptool/tbbr_config.h') diff --git a/tools/fiptool/tbbr_config.h b/tools/fiptool/tbbr_config.h index c4593359..0cf8e7f4 100644 --- a/tools/fiptool/tbbr_config.h +++ b/tools/fiptool/tbbr_config.h @@ -39,11 +39,9 @@ #define TOC_HEADER_SERIAL_NUMBER 0x12345678 typedef struct toc_entry { - const char *name; + char *name; uuid_t uuid; - const char *cmdline_name; - int action; - char *action_arg; + char *cmdline_name; } toc_entry_t; extern toc_entry_t toc_entries[]; -- cgit v1.2.3