Re: [U-Boot] [PATCH 05/14] fdt: Export fdtdec_find_alias_node() function

2012-10-31 Thread Simon Glass
Hi David, On Thu, Oct 25, 2012 at 9:24 PM, David Gibson wrote: > On Thu, Oct 25, 2012 at 07:31:02PM -0700, Simon Glass wrote: >> This function is useful outside fdtdec, so export it. > > Hrm. fdt_path_offset() in libfdt itself will already look up aliases > if given a path that doesn't start wit

Re: [U-Boot] [PATCH 05/14] fdt: Export fdtdec_find_alias_node() function

2012-10-25 Thread David Gibson
On Thu, Oct 25, 2012 at 07:31:02PM -0700, Simon Glass wrote: > This function is useful outside fdtdec, so export it. Hrm. fdt_path_offset() in libfdt itself will already look up aliases if given a path that doesn't start with '/'. So it's not clear why you need this function at all. -- David G

[U-Boot] [PATCH 05/14] fdt: Export fdtdec_find_alias_node() function

2012-10-25 Thread Simon Glass
This function is useful outside fdtdec, so export it. Signed-off-by: Simon Glass --- include/fdtdec.h |9 + lib/fdtdec.c |6 +++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/include/fdtdec.h b/include/fdtdec.h index e70714b..e566e47 100644 --- a/include/