]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Add a way to check for a valid ELF file
authorSimon Glass <sjg@chromium.org>
Sat, 7 Jan 2023 21:07:13 +0000 (14:07 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 18:50:01 +0000 (11:50 -0700)
commit39f4a85bb2dd5915ebc86921c34da26faa278fec
treea0d4f87155ef4100a4ff6a3e0fca16eddae2e35e
parentc8c9f3108a7b8c3ff391f60b184fa372ae4f32f2
binman: Add a way to check for a valid ELF file

Add a function which checks whether data is in ELF format or not. This
will be used by binman to check this for entries.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/elf.py
tools/binman/elf_test.py