[PATCH] libfdt: Add support for using aliases in fdt_path_offset()
Kumar Gala
galak at kernel.crashing.org
Thu Aug 14 22:02:54 EST 2008
On Aug 13, 2008, at 11:15 PM, David Gibson wrote:
> On Wed, Aug 13, 2008 at 10:52:26PM -0500, Kumar Gala wrote:
>> 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.
>
> Kumar, this is broken. If you match an alias you only follow the path
> one level down from there. i.e. you will correctly resolve
> 'somealias' and 'somealias/foo', but not 'somealias/foo/bar'.
I'm not clear on what cases you are suggesting fail.
- k
More information about the devicetree-discuss
mailing list