From: Josh Boyer <jwboyer@linux.vnet.ibm.com>
To: Stefan Roese <sr@denx.de>
Cc: linuxppc-dev@ozlabs.org, david@gibson.dropbear.id.au
Subject: Re: [patch 3/4] 4xx: Convert Walnut flash mappings to new binding
Date: Sat, 15 Sep 2007 09:26:19 -0500 [thread overview]
Message-ID: <1189866379.17593.2.camel@localhost.localdomain> (raw)
In-Reply-To: <200709150523.12817.sr@denx.de>
On Sat, 2007-09-15 at 05:23 +0200, Stefan Roese wrote:
> On Friday 14 September 2007, Josh Boyer wrote:
> > A new binding for flash devices was recently introduced. This updates the
> > Walnut DTS to use the new binding.
> >
> > Signed-off-by: Josh Boyer <jwboyer@linux.vnet.ibm.com>
> > ---
> > arch/powerpc/boot/dts/walnut.dts | 17 ++++++++++++-----
> > 1 file changed, 12 insertions(+), 5 deletions(-)
> >
> > --- linux-2.6.orig/arch/powerpc/boot/dts/walnut.dts
> > +++ linux-2.6/arch/powerpc/boot/dts/walnut.dts
> > @@ -137,6 +137,10 @@
> > dcr-reg = <012 2>;
> > #address-cells = <2>;
> > #size-cells = <1>;
> > + /* The ranges property is supplied by the bootwrapper
> > + * and is based on the firmware's configuration of the
> > + * EBC bridge
> > + */
> > clock-frequency = <0>; /* Filled in by zImage */
> >
> > sram@0,0 {
> > @@ -144,13 +148,16 @@
> > };
> >
> > flash@0,80000 {
> > - device_type = "rom";
> > - compatible = "direct-mapped";
> > - probe-type = "JEDEC";
> > + compatible = "jedec-flash";
> > bank-width = <1>;
> > - partitions = <0 80000>;
> > - partition-names = "OpenBIOS";
> > reg = <0 80000 80000>;
> > + #address-cells = <1>;
> > + #size-cells = <1>;
> > + partition@0 {
> > + label = "OpenBIOS";
> > + reg = <0 80000>;
> > + read-only;
> > + };
>
> There are not only Bamboo board running PIBS, but running U-Boot too. How
> should we handle this different FLASH partitioning? Same goes for Ebony too
> btw.
That's a good question. I'm working on making the NOR flash show up for
Bamboo right now, and I had intended to just leave the partition
subnodes missing.
josh
next prev parent reply other threads:[~2007-09-15 14:27 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-09-14 18:54 [patch 0/4] Small 4xx updates for 2.6.24 Josh Boyer
2007-09-14 18:54 ` [patch 1/4] cuimage for Bamboo board Josh Boyer
2007-09-15 2:19 ` David Gibson
2007-09-15 14:26 ` Josh Boyer
2007-09-14 18:54 ` [patch 2/4] Make partitions optional in physmap_of Josh Boyer
2007-09-15 2:21 ` David Gibson
2007-09-14 18:54 ` [patch 3/4] 4xx: Convert Walnut flash mappings to new binding Josh Boyer
2007-09-15 2:22 ` David Gibson
2007-09-15 14:25 ` Josh Boyer
2007-09-15 3:23 ` Stefan Roese
2007-09-15 14:26 ` Josh Boyer [this message]
2007-09-15 15:09 ` Wolfgang Denk
2007-09-15 17:35 ` Josh Boyer
2007-09-15 19:20 ` Segher Boessenkool
2007-09-17 2:03 ` David Gibson
2007-09-17 2:02 ` David Gibson
2007-09-14 18:54 ` [patch 4/4] 4xx: Convert Seqouia " Josh Boyer
2007-09-15 2:23 ` David Gibson
2007-09-15 3:32 ` Stefan Roese
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=1189866379.17593.2.camel@localhost.localdomain \
--to=jwboyer@linux.vnet.ibm.com \
--cc=david@gibson.dropbear.id.au \
--cc=linuxppc-dev@ozlabs.org \
--cc=sr@denx.de \
/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).