lkml.org 
[lkml]   [2011]   [Aug]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] dt: add of_alias_scan and of_alias_get_id
Hi David,

On Sun, Aug 14, 2011 at 10:43:41PM -0700, David Miller wrote:
> From: Shawn Guo <shawn.guo@linaro.org>
> Date: Mon, 15 Aug 2011 09:30:17 +0800
>
> > *allnextp = NULL;
> >
> > + /* Get pointer to "/chosen" and "/aliasas" nodes for use everywhere */
> > + of_chosen = of_find_node_by_path("/chosen");
> > + if (of_chosen == NULL)
> > + of_chosen = of_find_node_by_path("/chosen@0");
> > + of_aliases = of_find_node_by_path("/aliases");
> > + of_alias_scan(dt_alloc);
> > +
> > pr_debug(" <- unflatten_device_tree()\n");
> > }
>
> You need to add invocations of the scan to other places in the
> tree that build the in-kernel device tree.

Can you please help me a little bit more with the "other places"?
I'm still pretty new to device tree beyond ARM platform.

--
Regards,
Shawn



\
 
 \ /
  Last update: 2011-08-15 08:03    [W:0.063 / U:0.688 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site