]> git.baikalelectronics.ru Git - uboot.git/commit
dtoc: Allow providing a directory to write files to
authorSimon Glass <sjg@chromium.org>
Tue, 29 Dec 2020 03:34:50 +0000 (20:34 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 5 Jan 2021 19:26:35 +0000 (12:26 -0700)
commit56c1b7d9ea1626fc8d3b3f3ba78770e74206b8cb
tree05ad27a45dc1fce7b6821a9b763bd91c09cd2e35
parent898f9be7a34311f154c3cf70a6d7c690892e4ec8
dtoc: Allow providing a directory to write files to

At present dtoc writes only a single file on each invocation. U-Boot
writes the two files it needs by separate invocations of dtoc. Since dtoc
now scans all U-Boot driver source, this is fairly slow (about 1 second
per file).

It would be better if dtoc could write all the files at once.

In preparation for this, add a way to specify an output directory for the
files.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/dtoc/dtb_platdata.py
tools/dtoc/main.py
tools/dtoc/test_dtoc.py