
6 Jan
2021
6 Jan
'21
4:13 p.m.
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 | 8 ++++++-- tools/dtoc/main.py | 7 ++++++- tools/dtoc/test_dtoc.py | 14 +++++++------- 3 files changed, 19 insertions(+), 10 deletions(-)
Applied to u-boot-dm/next, thanks!