summaryrefslogtreecommitdiffstats
path: root/tools/dumpimage.h
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-03-06 19:45:32 -0700
committerSimon Glass <sjg@chromium.org>2016-03-14 15:34:50 -0600
commit9404fc85ab2e60fb81c8faaa58349ee1187a2501 (patch)
tree5d2065b247ca1f0408c9803522a8c65d3db53b10 /tools/dumpimage.h
parentab761ce9f9a88067c5834ce6660ba90493a783ea (diff)
downloadtalos-obmc-uboot-9404fc85ab2e60fb81c8faaa58349ee1187a2501.tar.gz
talos-obmc-uboot-9404fc85ab2e60fb81c8faaa58349ee1187a2501.zip
fdtgrep: Improve error handling with invalid device tree
This tool requires that the aliases node be the first node in the tree. But when it is not, it does not handle things gracefully. In fact it crashes. Fix this, and add a more helpful error message. Signed-off-by: Simon Glass <sjg@chromium.org> Reported-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'tools/dumpimage.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud