Re: Tweak OF_getnodebyname()

2017-11-17 Thread Artturi Alm
On Thu, Nov 16, 2017 at 09:39:20PM +0100, Mark Kettenis wrote: > The current FDT implementation is fairly useless since it doesn't > actually look at the child nodes. The macppc implementation walks the > entire tree. But all current use cases of this function only look at > children of the passe

Tweak OF_getnodebyname()

2017-11-16 Thread Mark Kettenis
The current FDT implementation is fairly useless since it doesn't actually look at the child nodes. The macppc implementation walks the entire tree. But all current use cases of this function only look at children of the passed node. Diff below makes OF_getnodebyname() behave like that. ok? I