]> git.sur5r.net Git - u-boot/commit
libfdt: Add function to explicitly expand aliases
authorDavid Gibson <david@gibson.dropbear.id.au>
Wed, 20 Aug 2008 06:55:14 +0000 (16:55 +1000)
committerGerald Van Baren <vanbaren@cideas.com>
Thu, 2 Oct 2008 23:06:09 +0000 (19:06 -0400)
commit9a6cf73a88ddab2e1ac39088f2806177982cc62c
tree16af8bb02d53d727c06f64852d71b20786294577
parent3e38577208e4256956bc33bb8bcd0a6b6fab55c3
libfdt: Add function to explicitly expand aliases

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-off-by: David Gibson <david@gibson.dropbear.id.au>
include/libfdt.h
libfdt/fdt_ro.c