linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Scott Wood <scottwood@freescale.com>
Cc: linuxppc-dev@ozlabs.org
Subject: Re: [PATCH v2 1/3] 8xx: Analogue & Micro Adder875 board support.
Date: Tue, 18 Dec 2007 11:43:29 +1100	[thread overview]
Message-ID: <20071218004329.GB9489@localhost.localdomain> (raw)
In-Reply-To: <47669285.8010707@freescale.com>

On Mon, Dec 17, 2007 at 09:15:17AM -0600, Scott Wood wrote:
> David Gibson wrote:
> > On Wed, Dec 12, 2007 at 04:54:27PM -0600, Scott Wood wrote:
> >> Signed-off-by: Scott Wood <scottwood@freescale.com>
> > [snip]
> >> diff --git a/arch/powerpc/boot/dts/adder875-redboot.dts b/arch/powerpc/boot/dts/adder875-redboot.dts
> >> new file mode 100644
> >> index 0000000..4d28220
> >> --- /dev/null
> >> +++ b/arch/powerpc/boot/dts/adder875-redboot.dts
> > [snip]
> >> diff --git a/arch/powerpc/boot/dts/adder875-uboot.dts b/arch/powerpc/boot/dts/adder875-uboot.dts
> >> new file mode 100644
> >> index 0000000..33d198c
> >> --- /dev/null
> >> +++ b/arch/powerpc/boot/dts/adder875-uboot.dts
> > 
> > Having two different device trees for the different firmwares is
> > pretty yucky, and could be a pain in the bum for synchronization of
> > fixes.
> 
> Yes, that's why we need some sort of macro/template facility in dtc. :-)
> 
> > Can't you have a common tree, and just poke the places that
> > are differently configured by the two firmwares from the bootwrapper.
> 
> Enh.  That can get icky as well, and the bootwrapper isn't necessarily 
> even used for u-boot, and I'd rather not require it be used just for this.

So make the template in the u-boot form, and poke it as necessary from
the redboot wrapper.

-- 
David Gibson			| I'll have my music baroque, and my code
david AT gibson.dropbear.id.au	| minimalist, thank you.  NOT _the_ _other_
				| _way_ _around_!
http://www.ozlabs.org/~dgibson

  reply	other threads:[~2007-12-18  0:43 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-12 22:54 [PATCH v2 1/3] 8xx: Analogue & Micro Adder875 board support Scott Wood
2007-12-17  3:57 ` David Gibson
2007-12-17 15:15   ` Scott Wood
2007-12-18  0:43     ` David Gibson [this message]
2007-12-18 16:09       ` Scott Wood

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=20071218004329.GB9489@localhost.localdomain \
    --to=david@gibson.dropbear.id.au \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=scottwood@freescale.com \
    /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).