summaryrefslogtreecommitdiff
path: root/tools/fiptool/tbbr_config.h
diff options
context:
space:
mode:
authordp-arm <dimitris.papastamos@arm.com>2016-11-14 15:54:32 +0000
committerdp-arm <dimitris.papastamos@arm.com>2016-12-30 09:23:38 +0000
commite0f083a09b295306e0b31ebc9ea5e3a848d12b84 (patch)
treeb2ccc3ba1a8d7c65dd42c0cb78dad91aa84b7b85 /tools/fiptool/tbbr_config.h
parentcef7b3ce8b26cd94e7e71ddeefc039451525b780 (diff)
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 <dimitris.papastamos@arm.com>
Diffstat (limited to 'tools/fiptool/tbbr_config.h')
-rw-r--r--tools/fiptool/tbbr_config.h6
1 files changed, 2 insertions, 4 deletions
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[];