diff options
author | Simon Glass <sjg@chromium.org> | 2020-12-28 20:35:03 -0700 |
---|---|---|
committer | Simon Glass <sjg@chromium.org> | 2021-01-05 12:26:35 -0700 |
commit | 1e0f3f46bd9afed12b331cbe945abd4046250ed5 (patch) | |
tree | 52b4a57072ec55552342b9ec01dd4d8fcd604a87 /tools/zynqmpimage.c | |
parent | a7d5f96ef1cf13b83a143d6977e2937bcc1b6c75 (diff) | |
download | u-boot-1e0f3f46bd9afed12b331cbe945abd4046250ed5.tar.gz |
dtoc: Allow specifying the base directory for tests
The base directory of U-Boot, where the source is, it currently calculated
from the directory of the dtb_platdata.py script. If this is installed
elsewhere that will not work. Also it is inconvenient for tests.
Add a parameter to allow specifying this base directory.
To test this, pass a temporary directory with some files in it and check
that they are passed to scan_driver().
Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'tools/zynqmpimage.c')
0 files changed, 0 insertions, 0 deletions