commit | 4f2059b245e72425cc31483ce3fdec7006381b6b | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Mon Dec 28 20:35:03 2020 -0700 |
committer | Simon Glass <sjg@chromium.org> | Tue Jan 05 12:26:35 2021 -0700 |
tree | 52b4a57072ec55552342b9ec01dd4d8fcd604a87 | |
parent | 5552678903293b7e6958d8dd28886f28c5a75a16 [diff] |
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>