commit | 54376fcc95a9d0aefb432f6d8602fc50423c33d6 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Sat Apr 03 09:18:47 2021 +1300 |
committer | Commit Bot <commit-bot@chromium.org> | Fri Apr 02 22:11:36 2021 +0000 |
tree | adbb22aa8d41733ac06f8e67512dc94c709cf0c2 | |
parent | 9b62a8fb4fce145fcb084f4ae6c08ee647fbd841 [diff] |
binman: Tweak implementation of fmap 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. BUG=b:184146709 TEST=binman test Signed-off-by: Simon Glass <sjg@chromium.org> Change-Id: I4d3d1192aa2e4792aa83bedb929c27046536fb87 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/u-boot/+/2803413 Reviewed-by: Jack Rosenthal <jrosenth@chromium.org>