fiptool: Link `toc_entry` and `image` structures via UUID
authordp-arm <dimitris.papastamos@arm.com>
Tue, 30 Aug 2016 13:18:58 +0000 (14:18 +0100)
committerdp-arm <dimitris.papastamos@arm.com>
Tue, 18 Oct 2016 09:05:12 +0000 (10:05 +0100)
commitb04efccece789d9b8d8a455a86f20917436d7bd2
tree5508ce75851675f5a75e183155399b629e479bdd
parent6bb37adc203567c2f9322dfbe34058a5f12d4c70
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>
tools/fiptool/fiptool.c
tools/fiptool/fiptool.h
tools/fiptool/tbbr_config.c
tools/fiptool/tbbr_config.h