Collect the main logic of dtoc into a function and put it into
dtb_platdata. This will allow tests to use this function instead of
duplicating the code themselves.

Signed-off-by: Simon Glass <s...@chromium.org>
---

 tools/dtoc/dtb_platdata.py | 29 +++++++++++++++++++++++++++++
 tools/dtoc/dtoc.py         | 19 ++-----------------
 2 files changed, 31 insertions(+), 17 deletions(-)

Applied to u-boot-dm, thanks!
Applied to u-boot-dm, thanks!
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to