[U-Boot] [PATCH v2 27/29] binman: Add a ProcessFdt() method

Simon Glass sjg at chromium.org
Mon Jul 9 19:53:25 UTC 2018


On 6 July 2018 at 10:27, Simon Glass <sjg at chromium.org> wrote:
> Some entry types modify the device tree, e.g. to remove microcode or add a
> property. So far this just modifies their local copy and does not affect
> a 'shared' device tree.
>
> Rather than doing this modification in the ObtainContents() method, and a
> new ProcessFdt() method which is specifically designed to modify this
> shared device tree.
>
> Move the existing device-tree code over to use this method, reducing
> ObtainContents() to the goal of just obtaining the contents without any
> processing, even for device tree.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
> Changes in v2: None
>
>  tools/binman/README                         | 23 +++++----
>  tools/binman/bsection.py                    | 15 ++++++
>  tools/binman/control.py                     | 52 ++++++++++++++++++++-
>  tools/binman/entry.py                       |  3 ++
>  tools/binman/etype/section.py               |  3 ++
>  tools/binman/etype/u_boot_dtb_with_ucode.py | 47 ++++++++++---------
>  tools/binman/etype/u_boot_ucode.py          |  2 +-
>  tools/binman/etype/u_boot_with_ucode_ptr.py |  7 ++-
>  tools/binman/image.py                       |  3 ++
>  9 files changed, 118 insertions(+), 37 deletions(-)

Applied to u-boot-dm.


More information about the U-Boot mailing list