devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>
To: David Daney <david.daney-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
Cc: "devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org"
	<devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org>
Subject: Re: [PATCH] of/flattree: Early "find node by alias" function
Date: Fri, 21 Oct 2011 18:08:13 +0100	[thread overview]
Message-ID: <1319216893.5094.10.camel@hornet.cambridge.arm.com> (raw)
In-Reply-To: <4EA1A1A9.2090403-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>

On Fri, 2011-10-21 at 17:45 +0100, David Daney wrote:
> How is this patch different/better than:
> http://lists.ozlabs.org/pipermail/devicetree-discuss/2011-June/005819.html

Probably I should have been more precise...

> > This patch adds a function for finding a node in flat tree
> > based on an alias name. It can be used in early boot code.

and add "... before the tree is unflattened.". So the it's similar to a
difference between

const void *of_get_property(const struct device_node *np, const char *name,
                         int *lenp)

and

void *__init of_get_flat_dt_prop(unsigned long node, const char *name,
                                 unsigned long *size)

Cheers!

Pawel

  parent reply	other threads:[~2011-10-21 17:08 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-21 15:16 [PATCH] of/flattree: Early "find node by alias" function Pawel Moll
     [not found] ` <1319210219-10707-1-git-send-email-pawel.moll-5wv7dgnIgG8@public.gmane.org>
2011-10-21 16:45   ` David Daney
     [not found]     ` <4EA1A1A9.2090403-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org>
2011-10-21 17:08       ` Pawel Moll [this message]
2011-10-21 20:04       ` Grant Likely
2011-10-26  9:29       ` Dave Martin
2011-11-08 11:57   ` Pawel Moll

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1319216893.5094.10.camel@hornet.cambridge.arm.com \
    --to=pawel.moll-5wv7dgnigg8@public.gmane.org \
    --cc=david.daney-YGCgFSpz5w/QT0dZR+AlfA@public.gmane.org \
    --cc=devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).