libfdt: Add max phandle retrieval function
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Jul 2016 08:26:39 +0000 (10:26 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 20 Aug 2016 15:35:01 +0000 (11:35 -0400)
commit57c7809ab0452bb9dc29c383fe64b651c911e1d2
tree15dad694f7902a38ac4f1f8fd979acece6f58e86
parent67e610d9f0e9262cfa742f8a78c089b3cab9659a
libfdt: Add max phandle retrieval function

Add a function to retrieve the highest phandle in a given device tree.

Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Reviewed-by: Stefan Agner <stefan@agner.ch>
Acked-by: Simon Glass <sjg@chromium.org>
include/libfdt.h
lib/libfdt/fdt_ro.c