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: NKumar Gala <galak@kernel.crashing.org> Acked-by: NDavid Gibson <david@gibson.dropbear.id.au> Acked-by: NGerald Van Baren <vanbaren@cideas.com>
Showing
想要评论请 注册 或 登录