Skip to content
Commit 1e0f3f46 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent a7d5f96e
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment