dtoc: Allow DTC environment variable to provide path to dtc
authorSimon Glass <sjg@chromium.org>
Sun, 24 Dec 2017 19:12:07 +0000 (12:12 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 16 Jan 2018 01:29:21 +0000 (18:29 -0700)
commit3ed0de31b48baf03efa3981035a41bc080f56f35
tree1c8b8a10fd05cdca8e54a5f55237f48a88390598
parent4d4db83d184c6d89d55239bbc83b01b566cffdc9
dtoc: Allow DTC environment variable to provide path to dtc

The system device-tree compiler may not be new enough to run the tests we
use in U-Boot (e.g. with binman). Allow use of a DTC environment variable
to point to the correct dtc. If not defined, the dtc on the default PATH
is used.

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