[PATCH 1/2] binman: Tweak implementation of fmap
Simon Glass
sjg at chromium.org
Thu Apr 29 18:03:52 CEST 2021
Use an interator in two of the fmap tests so it is easier to add new
items. Also check the name first since that is the first indication
that something is wrong. Use a variable for the expected size of the
fmap to avoid repeating the code.
Signed-off-by: Simon Glass <sjg at chromium.org>
---
tools/binman/ftest.py | 69 ++++++++++++++++++++++++-------------------
1 file changed, 38 insertions(+), 31 deletions(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list