From: Alexandr Smirnov <asmirnov@ru.mvista.com>
To: David Gibson <david@gibson.dropbear.id.au>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH 1/4] Emerson ATCA-C125 bootwrapper
Date: Mon, 17 Mar 2008 15:19:45 +0300 [thread overview]
Message-ID: <47DE61E1.6060300@ru.mvista.com> (raw)
In-Reply-To: <20080315001036.GA3487@localhost.localdomain>
David,
>> + /* Unfortunately, the specific model number is encoded in the
>> + * soc node name in existing dts files -- once that is fixed,
>> + * this can do a simple path lookup.
>> + */
>>
>
> Since this is a new board, couldn't you name the soc node /soc and
> dispense with this more complicated way of doing things? Or would
> that break other versions of u-boot that are in use?
>
As I understand you would like to rename /soc8548 node to /soc and make
a simple path lookup like following:
- soc = find_node_by_devtype(NULL, "soc");
+ soc = finddevice("/soc");
Is this correct?
But fsl_soc code still uses of_find_node_by_type so we can't remove
device_type property from node /soc and therefor simplify device tree.
Thanks,
Alexandr
next prev parent reply other threads:[~2008-03-17 12:10 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-14 14:22 PATCH [0/4] Add support for Emerson ATCA-C125 board Alexandr Smirnov
2008-03-14 14:27 ` [PATCH 1/4] Emerson ATCA-C125 bootwrapper Alexandr Smirnov
2008-03-15 0:10 ` David Gibson
2008-03-17 12:19 ` Alexandr Smirnov [this message]
2008-03-18 1:28 ` David Gibson
2008-03-14 14:28 ` [PATCH 2/4] Emerson ATCA-C125 device tree Alexandr Smirnov
2008-03-14 14:29 ` [PATCH 3/4] Emerson ATCA-C125 default config Alexandr Smirnov
2008-03-14 14:30 ` [PATCH 4/4] Emerson ATCA-C125 base support Alexandr Smirnov
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=47DE61E1.6060300@ru.mvista.com \
--to=asmirnov@ru.mvista.com \
--cc=david@gibson.dropbear.id.au \
--cc=linuxppc-dev@ozlabs.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.