]> git.baikalelectronics.ru Git - uboot.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)
commita63ecc16aead4fc1026fbbd8131ec0077f52a196
treea0d4f87155ef4100a4ff6a3e0fca16eddae2e35e
parentb6cb8c4e8edc37dc7ab2a423c150122270d4b1b0
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