]> git.baikalelectronics.ru Git - uboot.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)
commitf7df2c9e27857cb6ba2aecfea7732516dc8f7c48
tree96ca57026419771890c29979c4b458c430edc5bf
parente7ced7b6bcd4f4d028ff4a81d38d5b9931c2afbc
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