elf: Rename load_segments() and module failure
authorSimon Glass <sjg@chromium.org>
Sun, 6 Mar 2022 03:18:57 +0000 (20:18 -0700)
committerSimon Glass <sjg@chromium.org>
Sat, 19 Mar 2022 01:24:25 +0000 (19:24 -0600)
commit17b4ffc56fbd37564099083ed784d1249911629e
tree3cd3efad25ba58d1b98c166868c01def866e84e2
parent0ded4d434dc38031a256eab4428d5e339967dd6b
elf: Rename load_segments() and module failure

Rename this function to make it clear that it only reads loadable
segments. Also update the error for missing module to better match the
message emitted by Python.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Suggested-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
tools/binman/elf.py
tools/binman/elf_test.py