summaryrefslogtreecommitdiff
path: root/tools/binman/state.py
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2018-09-14 04:57:23 -0600
committerSimon Glass <sjg@chromium.org>2018-09-28 11:09:01 -0600
commit93d174135ac44cbbe81c87ea564488309949e6d4 (patch)
treefad1afcd03a46ccc13c9dd5e49a52b0f52a2fb4f /tools/binman/state.py
parent539aece516d87084437a38d879a1b91c661209f8 (diff)
binman: Allow control of whether a fake DT is used
We use a fake device tree in tests most of the time since tests don't normally care about the actual data. For example, for U-Boot proper we use U_BOOT_DTB_DATA which is just a four-character string. This makes testing the image output against an expected value very easy. However in some cases, such as when the test wants to check that the DT output containing particular nodes, we do actually need the real DT. Add support for this, along with a command-line option to select 'test mode'. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/binman/state.py')
-rw-r--r--tools/binman/state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/binman/state.py b/tools/binman/state.py
index 600eb86cfe..b27eb077a6 100644
--- a/tools/binman/state.py
+++ b/tools/binman/state.py
@@ -20,7 +20,7 @@ entry_args = {}
# True to use fake device-tree files for testing (see U_BOOT_DTB_DATA in
# ftest.py)
-use_fake_dtb = True
+use_fake_dtb = False
# Set of all device tree files references by images
fdt_set = Set()