]> git.baikalelectronics.ru Git - uboot.git/commit
binman: Allow overriding BuildSectionData()
authorSimon Glass <sjg@chromium.org>
Tue, 23 Nov 2021 18:03:47 +0000 (11:03 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 2 Dec 2021 16:16:30 +0000 (09:16 -0700)
commitb2b87ceb4ed17744aff34391ed5c803924ade04c
tree55a2ae6e63fa6bcb62a52a9d2808d3848d6ea1e6
parent9d379244bbedca5ed8ae288a0edcb9dd12cf6317
binman: Allow overriding BuildSectionData()

This method is currently marked private. However it is useful to be able
to subclass it, since much of the entry_Section code can be reused. Rename
it.

Also document one confusing part of this code, so people can understand
how to add a test for this case.

Fix up a few pylint warnings to avoid regressing the score.

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