Add some tests of dtoc's functionality to make it easier to expand and
enhance the tool.

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

 tools/dtoc/dtoc.py               |  31 ++++-
 tools/dtoc/dtoc_test.dts         |  12 ++
 tools/dtoc/dtoc_test_aliases.dts |  18 +++
 tools/dtoc/dtoc_test_empty.dts   |  12 ++
 tools/dtoc/dtoc_test_phandle.dts |  23 ++++
 tools/dtoc/dtoc_test_simple.dts  |  48 +++++++
 tools/dtoc/test_dtoc.py          | 271 +++++++++++++++++++++++++++++++++++++++
 7 files changed, 411 insertions(+), 4 deletions(-)
 create mode 100644 tools/dtoc/dtoc_test.dts
 create mode 100644 tools/dtoc/dtoc_test_aliases.dts
 create mode 100644 tools/dtoc/dtoc_test_empty.dts
 create mode 100644 tools/dtoc/dtoc_test_phandle.dts
 create mode 100644 tools/dtoc/dtoc_test_simple.dts
 create mode 100644 tools/dtoc/test_dtoc.py

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