[PATCH v2 05/11] binman: Add a way to check for missing properties

Simon Glass sjg at chromium.org
Sun Aug 21 02:10:31 CEST 2022


Some new entries are likely to have required properties. Support this in a
standard way, with a list of required properties which can be set up by
base classes. Check for missing properties when the entry is read.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

Changes in v2:
- Use a dict to hold required properties

 tools/binman/entry.py      | 20 ++++++++++++++++++++
 tools/binman/etype/fill.py |  3 +--
 tools/binman/ftest.py      |  2 +-
 3 files changed, 22 insertions(+), 3 deletions(-)

Applied to u-boot-dm, thanks!


More information about the U-Boot mailing list