Re: [U-Boot] [PATCH] libfdt: Add function to explicitly expand aliases

2008-10-03 Thread David Gibson
On Fri, Oct 03, 2008 at 03:09:06PM -0500, Jon Loeliger wrote: > Petri Lehtinen wrote: >> On Thu, Oct 02, 2008 at 07:05:53PM -0400, Jerry Van Baren wrote: >> [snip] >>> diff --git a/include/libfdt.h b/include/libfdt.h >>> index 5492a53..7cad68c 100644 >>> --- a/include/libfdt.h >>> +++ b/include/lib

Re: [U-Boot] [PATCH] libfdt: Add function to explicitly expand aliases

2008-10-03 Thread David Gibson
On Fri, Oct 03, 2008 at 03:09:06PM -0500, Jon Loeliger wrote: > Petri Lehtinen wrote: >> On Thu, Oct 02, 2008 at 07:05:53PM -0400, Jerry Van Baren wrote: >> [snip] >>> diff --git a/include/libfdt.h b/include/libfdt.h >>> index 5492a53..7cad68c 100644 >>> --- a/include/libfdt.h >>> +++ b/include/li

Re: [U-Boot] [PATCH] libfdt: Add function to explicitly expand aliases

2008-10-03 Thread Jon Loeliger
Petri Lehtinen wrote: > On Thu, Oct 02, 2008 at 07:05:53PM -0400, Jerry Van Baren wrote: > [snip] >> diff --git a/include/libfdt.h b/include/libfdt.h >> index 5492a53..7cad68c 100644 >> --- a/include/libfdt.h >> +++ b/include/libfdt.h >> @@ -459,6 +459,32 @@ static inline void *fdt_getprop_w(void *

Re: [U-Boot] [PATCH] libfdt: Add function to explicitly expand aliases

2008-10-03 Thread Petri Lehtinen
On Thu, Oct 02, 2008 at 07:05:53PM -0400, Jerry Van Baren wrote: [snip] > diff --git a/include/libfdt.h b/include/libfdt.h > index 5492a53..7cad68c 100644 > --- a/include/libfdt.h > +++ b/include/libfdt.h > @@ -459,6 +459,32 @@ static inline void *fdt_getprop_w(void *fdt, int > nodeoffset, > uint

[U-Boot] [PATCH] libfdt: Add function to explicitly expand aliases

2008-10-02 Thread Jerry Van Baren
Kumar has already added alias expansion to fdt_path_offset(). However, in some circumstances it may be convenient for the user of libfdt to explicitly get the string expansion of an alias. This patch adds a function to do this, fdt_get_alias(), and uses it to implement fdt_path_offset(). Signed-o