]> git.ipfire.org Git - people/ms/u-boot.git/commit
fdtgrep: Cope with the /aliases node being last
authorSimon Glass <sjg@chromium.org>
Sun, 2 Apr 2017 18:26:44 +0000 (12:26 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 13 Apr 2017 20:43:31 +0000 (14:43 -0600)
commitc47a38b47770887dc9416382207364fb62899fc2
tree96ca57026419771890c29979c4b458c430edc5bf
parentf156b5b59750f4140ffa2dd6a5eab686ba0212c3
fdtgrep: Cope with the /aliases node being last

With skeleton.dtsi being dropped it is more likely that the /aliases node
will be last in the device tree. Update fdtgrep to handle this.

Signed-off-by: Simon Glass <sjg@chromium.org>
Tested-by: Masahiro Yamada <yamada.masahiro@socionext.com>
lib/libfdt/fdt_region.c
tools/fdtgrep.c