From: Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Subject: Re: [PATCH] of/flattree: Early "find node by alias" function
Date: Tue, 08 Nov 2011 11:57:54 +0000 [thread overview]
Message-ID: <1320753474.3259.4.camel@hornet.cambridge.arm.com> (raw)
In-Reply-To: <1319210219-10707-1-git-send-email-pawel.moll-5wv7dgnIgG8@public.gmane.org>
Hello again,
On Fri, 2011-10-21 at 16:16 +0100, Pawel Moll wrote:
> 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.
>
> Typical use case is a situation when early code needs data
> from a arbitrary tree node, eg. base address of "serial0" to
> initialise debug output or some sort of ID register to
> probe hardware.
>
> The tree source could look like that:
>
> / {
> aliases {
> serial0 = &uart0;
> };
>
> uart0: uart@f0001000 {
> reg = <0xf0001000 0x1000>;
> };
> }
>
> Signed-off-by: Pawel Moll <pawel.moll-5wv7dgnIgG8@public.gmane.org>
Any further comments? Makes sense? Not at all? ;-)
Cheers!
Pawel
prev parent reply other threads:[~2011-11-08 11:57 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
2011-10-21 20:04 ` Grant Likely
2011-10-26 9:29 ` Dave Martin
2011-11-08 11:57 ` Pawel Moll [this message]
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=1320753474.3259.4.camel@hornet.cambridge.arm.com \
--to=pawel.moll-5wv7dgnigg8@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).