All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Glass <sjg@chromium.org>
To: u-boot@lists.denx.de
Subject: [PATCH 1/2] binman: Tweak implementation of fmap
Date: Thu, 29 Apr 2021 09:03:52 -0700	[thread overview]
Message-ID: <CAPnjgZ12Eq6CRCQf7CsMGph-b7BihpZ2kdVkYtjjroFHzJwDyQ@mail.gmail.com> (raw)
In-Reply-To: <20210403110504.1.I4d3d1192aa2e4792aa83bedb929c27046536fb87@changeid>

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@chromium.org>
---

 tools/binman/ftest.py | 69 ++++++++++++++++++++++++-------------------
 1 file changed, 38 insertions(+), 31 deletions(-)

Applied to u-boot-dm, thanks!

      parent reply	other threads:[~2021-04-29 16:03 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-04-02 22:05 [PATCH 1/2] binman: Tweak implementation of fmap Simon Glass
2021-04-02 22:05 ` [PATCH 2/2] binman: Support adding sections to FMAPs Simon Glass
2021-04-29 16:03 ` Simon Glass
2021-04-29 16:03 ` Simon Glass [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAPnjgZ12Eq6CRCQf7CsMGph-b7BihpZ2kdVkYtjjroFHzJwDyQ@mail.gmail.com \
    --to=sjg@chromium.org \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.