Re: [U-Boot] [PATCH v4 08/13] libfdt: Add fdt_path_offset_namelen

2016-07-05 Thread David Gibson
On Tue, Jul 05, 2016 at 10:26:41AM +0200, Maxime Ripard wrote: > Add a namelen variant of fdt_path_offset to retrieve the node offset using > only a fixed number of characters. > > Reviewed-by: Simon Glass > Signed-off-by: Maxime Ripard > --- > include/libfdt.h| 16 +++- > lib/l

[U-Boot] [PATCH v4 08/13] libfdt: Add fdt_path_offset_namelen

2016-07-05 Thread Maxime Ripard
Add a namelen variant of fdt_path_offset to retrieve the node offset using only a fixed number of characters. Reviewed-by: Simon Glass Signed-off-by: Maxime Ripard --- include/libfdt.h| 16 +++- lib/libfdt/fdt_ro.c | 18 ++ 2 files changed, 25 insertions(+), 9 de