linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Scott Wood <scottwood@freescale.com>
To: Andy Fleming <afleming@gmail.com>
Cc: "linuxppc-dev@lists.ozlabs.org" <linuxppc-dev@lists.ozlabs.org>,
	"Kumar Gala" <galak@kernel.crashing.org>
Subject: Re: [PATCH] powerpc/85xx: Add support for Varisys Cyrus board
Date: Wed, 2 Sep 2015 12:43:34 -0500	[thread overview]
Message-ID: <1441215814.4966.168.camel@freescale.com> (raw)
In-Reply-To: <1441215745.4966.167.camel@freescale.com>

On Wed, 2015-09-02 at 12:42 -0500, Scott Wood wrote:
> On Wed, 2015-09-02 at 12:23 -0500, Andy Fleming wrote:
> > On Wed, Sep 2, 2015 at 11:53 AM, Scott Wood <scottwood@freescale.com> 
> > wrote:
> > > 
> > > On Wed, 2015-09-02 at 01:36 -0500, Andy Fleming wrote:
> > > > This board uses a P5020 or P5040 chip, and boots just fine using
> > > > the corenet_generic code. The device tree is very similar to the
> > > > P5020DS, except that there is no Flash memory. The environment is,
> > > > instead, stored on an MMC card on the motherboard.
> > > > 
> > > > Signed-off-by: Andy Fleming <afleming@gmail.com>
> > > > ---
> > > >  arch/powerpc/boot/dts/cyrus.dts               | 175
> > > > ++++++++++++++++++++++++++
> > > >  arch/powerpc/platforms/85xx/corenet_generic.c |   1 +
> > > >  2 files changed, 176 insertions(+)
> > > >  create mode 100644 arch/powerpc/boot/dts/cyrus.dts
> > > > 
> > > > diff --git a/arch/powerpc/boot/dts/cyrus.dts
> > > > b/arch/powerpc/boot/dts/cyrus.dts
> > > > new file mode 100644
> > > > index 0000000..07fe509
> > > > --- /dev/null
> > > > +++ b/arch/powerpc/boot/dts/cyrus.dts
> > > > @@ -0,0 +1,175 @@
> > > > +/*
> > > > + * P5020DS Device Tree Source
> > > > + *
> > > > + * Copyright 2010 - 2014 Freescale Semiconductor Inc.
> > > > + *
> > > > + * Redistribution and use in source and binary forms, with or without
> > > > + * modification, are permitted provided that the following 
> > > > conditions 
> > > > are
> > > > met:
> > > > + *     * Redistributions of source code must retain the above 
> > > > copyright
> > > > + *       notice, this list of conditions and the following 
> > > > disclaimer.
> > > > + *     * Redistributions in binary form must reproduce the above 
> > > > copyright
> > > > + *       notice, this list of conditions and the following 
> > > > disclaimer 
> > > > in
> > > > the
> > > > + *       documentation and/or other materials provided with the
> > > > distribution.
> > > > + *     * Neither the name of Freescale Semiconductor nor the
> > > > + *       names of its contributors may be used to endorse or promote
> > > > products
> > > > + *       derived from this software without specific prior written
> > > > permission.
> > > > + *
> > > > + *
> > > > + * ALTERNATIVELY, this software may be distributed under the terms 
> > > > of 
> > > > the
> > > > + * GNU General Public License ("GPL") as published by the Free 
> > > > Software
> > > > + * Foundation, either version 2 of that License or (at your option) 
> > > > any
> > > > + * later version.
> > > > + *
> > > > + * THIS SOFTWARE IS PROVIDED BY Freescale Semiconductor ``AS IS'' 
> > > > AND 
> > > > ANY
> > > > + * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
> > > > IMPLIED
> > > > + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 
> > > > PURPOSE 
> > > > ARE
> > > > + * DISCLAIMED. IN NO EVENT SHALL Freescale Semiconductor BE LIABLE 
> > > > FOR 
> > > > ANY
> > > > + * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
> > > > DAMAGES
> > > > + * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
> > > > SERVICES;
> > > > + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER 
> > > > CAUSED
> > > > AND
> > > > + * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 
> > > > LIABILITY, 
> > > > OR
> > > > TORT
> > > > + * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE 
> > > > USE
> > > > OF THIS
> > > > + * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
> > > > + */
> > > > +
> > > > +/include/ "fsl/p5020si-pre.dtsi"
> > > 
> > > What happens when the board has a p5040?
> > 
> > 
> > Hmm...I hadn't thought of that. I can respin the dts to be
> > cyrus_5020.dts, and provide a cyrus_5040.dts later. That version of
> > the product doesn't exist yet. Does that make sense?
> 
> Sure.

...though I'd prefer "cyrus_p5020.dts" and "cyrus_p5040.dts".

-SCott

  reply	other threads:[~2015-09-02 17:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-02  6:36 [PATCH] powerpc/85xx: Add support for Varisys Cyrus board Andy Fleming
2015-09-02 16:53 ` Scott Wood
2015-09-02 17:23   ` Andy Fleming
2015-09-02 17:42     ` Scott Wood
2015-09-02 17:43       ` Scott Wood [this message]
2015-09-02 18:07 ` [PATCH v2] " Andy Fleming
2015-09-11  1:51   ` Andy Fleming
2015-09-11  1:53     ` Scott Wood
2015-09-11  2:06       ` Andy Fleming
2015-09-11  2:13         ` Scott Wood
2015-09-11  2:38           ` Andy Fleming

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=1441215814.4966.168.camel@freescale.com \
    --to=scottwood@freescale.com \
    --cc=afleming@gmail.com \
    --cc=galak@kernel.crashing.org \
    --cc=linuxppc-dev@lists.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 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).