]> git.sur5r.net Git - u-boot/commit
libfdt: Add fdt_path_offset_namelen
authorMaxime Ripard <maxime.ripard@free-electrons.com>
Tue, 5 Jul 2016 08:26:41 +0000 (10:26 +0200)
committerTom Rini <trini@konsulko.com>
Sat, 20 Aug 2016 15:35:02 +0000 (11:35 -0400)
commit8e9685715bf78421da48a84040aba3801f66bf47
tree0f5d37f8512180cc93367dbb9a90e2d206ffcb59
parent6f5f92c60b7cc86bcfbd4acd310c5efbb6b68a8f
libfdt: Add fdt_path_offset_namelen

Add a namelen variant of fdt_path_offset to retrieve the node offset using
only a fixed number of characters.

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