dtoc: Bring in the libfdt module automatically
authorSimon Glass <sjg@chromium.org>
Tue, 23 Nov 2021 18:03:38 +0000 (11:03 -0700)
committerSimon Glass <sjg@chromium.org>
Thu, 2 Dec 2021 16:15:43 +0000 (09:15 -0700)
commitff139b6c70ff452df7f231627c796bdd259f6bbc
tree90093619ba2d90f178e0dba3d76e43472cbc0eef
parent34bee10e00bc77bbe4287abe15a16f3048085424
dtoc: Bring in the libfdt module automatically

Use the same technique as with binman to load this module from the U-Boot
tree if available. This allows running tests without having to specify
the PYTHONPATH variable.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/test_fdt.py