
The idea here is not to have to pass twice the FDT directory, i.e. once with the 'fit,fdt-list-dir' property in the device tree passed to binman and in the input arguments of binman with '-I' option. The method append_input_dirs() can be used to append a list of directories to the existing list of input directories. The method avoids duplicates and the method ReadNode() of the class Entry_fit calls tools.append_input_dirs() to add the FDT directory to the list of input directories.
Paul HENRYS (2): tools: u_boot_pylib: Allow to append input directories to indir tools: binman: etype: fit: Append DTB directory to the list of input directories
tools/binman/etype/fit.py | 2 ++ tools/binman/ftest.py | 5 ++++- tools/u_boot_pylib/tools.py | 16 ++++++++++++++++ 3 files changed, 22 insertions(+), 1 deletion(-)