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 <[email protected]>
---

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!

Reply via email to