binman: Split out looking up a symbol into a function
authorSimon Glass <sjg@chromium.org>
Fri, 21 Oct 2022 00:22:45 +0000 (18:22 -0600)
committerTom Rini <trini@konsulko.com>
Mon, 31 Oct 2022 15:01:31 +0000 (11:01 -0400)
commit2b8b27fb8d8399f99660f190fd2257d983049bb5
tree8f19e33584a9e8d0610baab27f7f75992284ac53
parent28565796df769e0a8d5ab1f8424cb262e40edc2e
binman: Split out looking up a symbol into a function

Move this code into its own function so it can be used from tests.

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