binman: Add a function to check for special section nodes
authorSimon Glass <sjg@chromium.org>
Wed, 11 Jan 2023 23:10:15 +0000 (16:10 -0700)
committerSimon Glass <sjg@chromium.org>
Wed, 18 Jan 2023 21:55:40 +0000 (14:55 -0700)
commit97fb8081ec0c8009ff5e70c054e8ece08e4465ed
tree121a11ac9718477dea939980b757af792503ce3f
parent62ef2f7bf3c442b6f717d2fbe823d579cf090dd8
binman: Add a function to check for special section nodes

This appears in two places in the code. Use a shared function instead.

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