dtoc: Update Fdt.FromData() to allow a name
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2019 18:23:38 +0000 (12:23 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2019 15:38:05 +0000 (09:38 -0600)
commit880e9ee650f829ed4772003633feb01ced94d227
treea85d1469eaa3a93ded12bc4e9ed59b3d4783eff8
parentd9dad10e3c656d930041d8ec8db853d7fafab755
dtoc: Update Fdt.FromData() to allow a name

It is confusing when something goes wrong with a device tree which was
created from data rather than a file, since there is no identifying
filename. Add an option to provide this. Use the filename as the name,
where available

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