binman: Show a helpful error when a DT property is missing
authorSimon Glass <sjg@chromium.org>
Sat, 20 Jul 2019 18:23:37 +0000 (12:23 -0600)
committerSimon Glass <sjg@chromium.org>
Mon, 29 Jul 2019 15:38:05 +0000 (09:38 -0600)
commitd9dad10e3c656d930041d8ec8db853d7fafab755
treeb49b27cdb57ec498ed8807327e1dd1195de7e3e7
parent9f297b09c06f2212cb59dac5950ae61de5fe3a9f
binman: Show a helpful error when a DT property is missing

At present a Python exception is raised which does not show the node
information. Add a more helpful exception in this case.

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