[U-Boot] [PATCH 14/31] binman: Move state information into a new module

Simon Glass sjg at chromium.org
Tue Oct 2 11:19:49 UTC 2018


On 14 September 2018 at 03:57, Simon Glass <sjg at chromium.org> wrote:
> At present the control module has state information in it, since it is the
> primary user of this. But it is a bit odd to have entries and other
> modules importing control to obtain this information.
>
> It seems better to have a dedicated state module, which control can use as
> well. Create a new module using code from control and update other modules
> to use it.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  tools/binman/control.py                     | 50 +++----------
>  tools/binman/entry.py                       |  7 +-
>  tools/binman/etype/u_boot_dtb_with_ucode.py |  6 +-
>  tools/binman/ftest.py                       |  3 +-
>  tools/binman/state.py                       | 77 +++++++++++++++++++++
>  5 files changed, 95 insertions(+), 48 deletions(-)
>  create mode 100644 tools/binman/state.py

Applied to u-boot-dm, and now in mainline.


More information about the U-Boot mailing list