binman: Ignore hash*, signature* nodes in sections
authorAlper Nebi Yasak <alpernebiyasak@gmail.com>
Mon, 31 Aug 2020 09:58:18 +0000 (12:58 +0300)
committerSimon Glass <sjg@chromium.org>
Tue, 22 Sep 2020 18:50:43 +0000 (12:50 -0600)
commit8001d0b162183493ee31b9e578756e450f673745
tree8c7dd9ad3a66cf569e5c76b737aee934de422d5a
parent2512b3b88ba6b193c3cada7e29e386613e8f9a6b
binman: Ignore hash*, signature* nodes in sections

Switch to str.startswith for matching like the FIT etype does since the
current version doesn't ignore 'hash-1', 'hash-2', etc.

Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/section.py
tools/binman/ftest.py
tools/binman/test/165_section_ignore_hash_signature.dts [new file with mode: 0644]