All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Gibson <david@gibson.dropbear.id.au>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: linuxppc-dev@ozlabs.org, paulus@samba.org,
	Timur Tabi <timur@freescale.com>,
	Stuart Yoder <stuart.yoder@freescale.com>
Subject: Re: [PATCH] powerpc: delete boot-cpu and chosen nodes from all DTS files
Date: Thu, 15 Feb 2007 10:37:03 +1100	[thread overview]
Message-ID: <20070214233703.GI16279@localhost.localdomain> (raw)
In-Reply-To: <1171487822.20192.163.camel@localhost.localdomain>

On Thu, Feb 15, 2007 at 08:17:02AM +1100, Benjamin Herrenschmidt wrote:
> On Wed, 2007-02-14 at 15:02 -0600, Timur Tabi wrote:
> > Benjamin Herrenschmidt wrote:
> > 
> > >> Obviously, the kernel needs a 'chosen' section, and that's why U-Boot 
> > >> adds one.  And since U-Boot adds one, the DTS itself doesn't need one. 
> > >> Does the 8272 never use U-Boot?
> > > 
> > > I'm not talking specifically about the 8272. I think we should at it
> > > back to all dts's
> > 
> > Ugh.  Considering that U-Boot overrides whatever is in the 'chosen' section, can 
> > you tell me why you think it should be there?  If we put an empty 'chosen' 
> > section in the DTS files, are we actually doing anything meaningful?
> > 
> > In the interest of saving time, I'm going to respin my patch without the 
> > 'chosen' section removed.
> 
> In case somebody wants to use something else than uboot ? I'd like the
> base structure of the mandatory nodes to be there. /chosen is mandatory,
> so it should be there.

More specifically:
	1) Having an (even empty) /chosen makes life easier for other
	bootloaders, which may have quite limited capability to edit
	device tree blobs.

	2) It seems to me the dts files *included with the kernel*
	should be suitable for direct use in zImage wrappers, where
	possible, for use with old uboot and other non device tree
	capable firmwares.

-- 
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

  parent reply	other threads:[~2007-02-14 23:37 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-13 23:34 [PATCH] powerpc: delete boot-cpu and chosen nodes from all DTS files Timur Tabi
2007-02-13 23:57 ` Benjamin Herrenschmidt
2007-02-14  5:15   ` Timur Tabi
2007-02-14  5:19     ` David Gibson
2007-02-14  5:24       ` Timur Tabi
2007-02-14 14:40       ` Jon Loeliger
2007-02-14  5:27     ` Benjamin Herrenschmidt
2007-02-14  5:31       ` Timur Tabi
2007-02-14  5:35         ` Benjamin Herrenschmidt
2007-02-14 14:03           ` Timur Tabi
2007-02-14 20:23             ` Guennadi Liakhovetski
2007-02-14 20:32               ` Timur Tabi
2007-02-14 20:47                 ` Guennadi Liakhovetski
2007-02-14 20:51                   ` Timur Tabi
2007-02-14 20:58                     ` Guennadi Liakhovetski
2007-02-14 20:54             ` Benjamin Herrenschmidt
2007-02-14 21:02               ` Timur Tabi
2007-02-14 21:17                 ` Benjamin Herrenschmidt
2007-02-14 21:58                   ` Timur Tabi
2007-02-14 22:53                     ` Benjamin Herrenschmidt
2007-02-14 23:37                   ` David Gibson [this message]
2007-02-14 21:09               ` [PATCH] powerpc: delete boot-cpu and chosen nodes from all DTSfiles Yoder Stuart-B08248
2007-02-14 23:37                 ` David Gibson
2007-02-15  1:45     ` [PATCH] powerpc: delete boot-cpu and chosen nodes from all DTS files Segher Boessenkool
  -- strict thread matches above, loose matches on Subject: below --
2007-02-13 16:47 Timur Tabi
2007-02-13 17:16 ` Kumar Gala
2007-02-13 17:20   ` Timur Tabi
2007-02-13 19:29   ` Timur Tabi
2007-02-15  1:42   ` Segher Boessenkool
2007-02-14  0:31 ` David Gibson
2007-02-14  5:18   ` Timur Tabi
2007-02-14  5:24     ` David Gibson
2007-02-14 14:05       ` Timur Tabi
2007-02-14 23:33         ` David Gibson
2007-02-14 23:47           ` Timur Tabi
2007-02-15  1:40           ` Segher Boessenkool
2007-02-15 16:18           ` Timur Tabi

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=20070214233703.GI16279@localhost.localdomain \
    --to=david@gibson.dropbear.id.au \
    --cc=benh@kernel.crashing.org \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=paulus@samba.org \
    --cc=stuart.yoder@freescale.com \
    --cc=timur@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 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.