Simon Glass 1e0f3f46bd 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>
2021-01-05 12:26:35 -07:00
..
2020-12-13 07:58:17 -07:00
2019-10-08 16:35:59 +02:00
2021-01-05 12:26:35 -07:00
2019-12-06 16:44:20 -05:00
2019-07-29 00:20:31 +02:00
2020-10-09 12:02:26 -04:00
2009-04-28 01:16:46 +02:00
2019-11-04 18:15:32 -07:00