On 6 July 2018 at 10:27, Simon Glass <s...@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 <s...@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.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to