[U-Boot] [PATCH] fdt: remove fdtdec_get_alias_node() function

Masahiro Yamada yamada.m at jp.panasonic.com
Fri Nov 28 02:35:14 CET 2014


Hi Simon,


On Thu, 27 Nov 2014 09:22:10 -0700
Simon Glass <sjg at chromium.org> wrote:

> Hi Masahiro,
> 
> On 23 November 2014 at 15:23, Simon Glass <sjg at chromium.org> wrote:
> > On 21 November 2014 at 03:47, Masahiro Yamada <yamada.m at jp.panasonic.com> wrote:
> >> The fdt_path_offset() checks an alias too.
> >>
> >> fdtdec_get_alias_node(blob, "foo") is equivalent to
> >> fdt_path_offset(blob, "foo").
> >>
> >> Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
> >> ---
> >>
> >>  drivers/serial/serial-uclass.c |  2 +-
> >>  include/fdtdec.h               | 11 -----------
> >>  lib/fdtdec.c                   | 15 ---------------
> >>  3 files changed, 1 insertion(+), 27 deletions(-)
> >
> > Thanks!
> >
> > Acked-by: Simon Glass <sjg at chromium.org>
> 
> Applied to u-boot-fdt, thanks!
> 
> In case you are interested, these was added and removed before:
> 
> added: b5220bc fdt: add decode helper library
> removed: 0087847 fdt: Remove fdtdec_find_alias_node() function
> added: 3234aa4 fdt: Add a function to get the node offset of an alias
> 
> All three commits were written by me. Given that track record I will
> be due to add it again in 2016.

Oh dear, and then I will be due to remove it again in 2018.


Best Regards
Masahiro Yamada



More information about the U-Boot mailing list