]> git.sur5r.net Git - u-boot/commit
libfdt: Add support for using aliases in fdt_path_offset()
authorKumar Gala <galak@kernel.crashing.org>
Thu, 14 Aug 2008 13:28:19 +0000 (08:28 -0500)
committerGerald Van Baren <vanbaren@cideas.com>
Mon, 25 Aug 2008 02:20:50 +0000 (22:20 -0400)
commitfeeca3f578b7f53c032ba203698751c982f8bf5a
treea5fa94b8160afd4dd98466090b827b5e0ba6c69d
parent0219399a4e3a8edb428e1924e1a03d58cccf8d8e
libfdt: Add support for using aliases in fdt_path_offset()

If the path doesn't start with '/' check to see if it matches some alias
under "/aliases" and substitute the matching alias value in the path
and retry the lookup.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Acked-by: David Gibson <david@gibson.dropbear.id.au>
Acked-by: Gerald Van Baren <vanbaren@cideas.com>
libfdt/fdt_ro.c