]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Add a function to obtain the image for an Entry
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2019 18:23:46 +0000 (12:23 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2019 15:38:06 +0000 (09:38 -0600)
commite6737f9daec13fea5e3b290ec11951ee6f8c7042
tree73fcbfba65313e721c03cb2256492e22ec66508b
parent563973c0ce5fadc7ea6910a7f77d5f5e5517f69b
binman: Add a function to obtain the image for an Entry

At present we have an 'image' property in the entry for this purpose, but
this is not necessary and seems error-prone in the presence of
inheritance. Add a function instead. The Entry_section class overrides
this with a special version, since top-level sections are in fact images,
since Image inherits Entry_section.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/entry.py
tools/binman/etype/fmap.py
tools/binman/etype/section.py
tools/binman/image.py