]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: capsule: Use dumped capsule header contents for verification
authorSughosh Ganu <sughosh.ganu@linaro.org>
Tue, 10 Oct 2023 09:10:57 +0000 (14:40 +0530)
committerSimon Glass <sjg@chromium.org>
Fri, 13 Oct 2023 20:01:42 +0000 (14:01 -0600)
commit809f28e7213f792367941022667a35f2ca3146be
tree4d78e8c1ca06b5fdd5389fe63f26764d8eab8a04
parentbb8f892052b0344adc3442eb398c32ade9786ae9
binman: capsule: Use dumped capsule header contents for verification

The various fields of a generated capsule are currently verified
through hard-coded offsets. Use the dump-capsule feature for dumping
the capsule header contents and use those for capsule verification.

Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
tools/binman/etype/efi_capsule.py
tools/binman/ftest.py