diff options
author | dp-arm <dimitris.papastamos@arm.com> | 2016-08-30 14:18:58 +0100 |
---|---|---|
committer | dp-arm <dimitris.papastamos@arm.com> | 2016-10-18 10:05:12 +0100 |
commit | b04efccece789d9b8d8a455a86f20917436d7bd2 (patch) | |
tree | 5508ce75851675f5a75e183155399b629e479bdd /tools/fiptool/fiptool.h | |
parent | 6bb37adc203567c2f9322dfbe34058a5f12d4c70 (diff) |
fiptool: Link `toc_entry` and `image` structures via UUID
The `toc_entry` and `image` data structures had a cyclic
relationship. This patch removes the explicit dependencies and introduces
functions to link them via the UUID.
This change highlights the intent of the code better and makes it more
flexible for future enhancements.
Change-Id: I0c3dd7bfda2a631a3827c8ba4831849c500affe9
Signed-off-by: dp-arm <dimitris.papastamos@arm.com>
Diffstat (limited to 'tools/fiptool/fiptool.h')
-rw-r--r-- | tools/fiptool/fiptool.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/fiptool/fiptool.h b/tools/fiptool/fiptool.h index 0fe64c0c..77051076 100644 --- a/tools/fiptool/fiptool.h +++ b/tools/fiptool/fiptool.h @@ -57,7 +57,6 @@ typedef struct image { uuid_t uuid; size_t size; void *buffer; - struct toc_entry *toc_entry; } image_t; typedef struct cmd { |