[PATCH 21/49] dtoc: Move src_scan tests to a separate file

Simon Glass sjg at chromium.org
Wed Jan 6 16:12:45 CET 2021


Move the tests related to scanning into their own class, updating them
to avoid using dtb_platdata as a pass-through.

Signed-off-by: Simon Glass <sjg at chromium.org>
---

 tools/dtoc/dtb_platdata.py  |  2 +-
 tools/dtoc/main.py          |  5 +-
 tools/dtoc/src_scan.py      |  4 +-
 tools/dtoc/test_dtoc.py     | 73 -----------------------------
 tools/dtoc/test_src_scan.py | 91 +++++++++++++++++++++++++++++++++++++
 5 files changed, 97 insertions(+), 78 deletions(-)
 create mode 100644 tools/dtoc/test_src_scan.py

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list