binman: Add a utility module for ATF FIP
authorSimon Glass <sjg@chromium.org>
Wed, 24 Nov 2021 04:08:58 +0000 (21:08 -0700)
committerSimon Glass <sjg@chromium.org>
Fri, 17 Dec 2021 16:44:59 +0000 (09:44 -0700)
commited16b12576ad386d3b22257b7399cd9eb01c69b4
tree66db0c05f5760c2a29b1455a66f081571ea52b6f
parentb9c9ce8a4064c8d88f714604db856cf1cd2b40b5
binman: Add a utility module for ATF FIP

Add support for this format which is used by ARM Trusted Firmware to find
firmware binaries to load.

FIP is like a simpler version of FMAP but uses a UUID instead of a name,
for each entry.

It supports reading a FIP, writing a FIP and parsing the ATF source code
to get a list of supported UUIDs.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/fip_util.py [new file with mode: 0755]
tools/binman/fip_util_test.py [new file with mode: 0755]
tools/binman/main.py