[U-Boot] [PATCH 08/31] dtoc: Allow syncing of the device tree back to a file

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


On 14 September 2018 at 03:57, Simon Glass <sjg at chromium.org> wrote:
> At present we require the caller to manually update the device tree using
> individual calls to libfdt functions. This is not ideal. It would be
> better if we could make changes using the Python structure and then call a
> Sync() function to write them back.
>
> Add this feature to the Fdt class. Update binman and the tests to match.
>
> Signed-off-by: Simon Glass <sjg at chromium.org>
> ---
>
>  tools/binman/control.py |  2 +
>  tools/dtoc/fdt.py       | 91 +++++++++++++++++++++++++++++++++++++----
>  tools/dtoc/test_fdt.py  |  8 +++-
>  3 files changed, 91 insertions(+), 10 deletions(-)

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


More information about the U-Boot mailing list