aboutsummaryrefslogtreecommitdiff
path: root/tools/binman
diff options
context:
space:
mode:
authorSimon Glass2017-12-24 12:12:07 -0700
committerSimon Glass2018-01-15 18:29:21 -0700
commit3ed0de31b48baf03efa3981035a41bc080f56f35 (patch)
tree1c8b8a10fd05cdca8e54a5f55237f48a88390598 /tools/binman
parent4d4db83d184c6d89d55239bbc83b01b566cffdc9 (diff)
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>
Diffstat (limited to 'tools/binman')
-rw-r--r--tools/binman/README4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/binman/README b/tools/binman/README
index 08c3e56bdef..7f558ec6a9a 100644
--- a/tools/binman/README
+++ b/tools/binman/README
@@ -536,6 +536,10 @@ entry contents.
Most of the time such essoteric behaviour is not needed, but it can be
essential for complex images.
+If you need to specify a particular device-tree compiler to use, you can define
+the DTC environment variable. This can be useful when the system dtc is too
+old.
+
History / Credits
-----------------