Devicetree
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: David Miller <davem@davemloft.net>, sparclinux@vger.kernel.org
Cc: Stephen Neuendorffer <stephen.neuendorffer@xilinx.com>,
	Grant Likely <grant.likely@secretlab.ca>,
	devicetree-discuss@lists.ozlabs.org,
	Michal Simek <monstr@monstr.eu>,
	microblaze-uclinux@itee.uq.edu.au,
	Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>,
	linuxppc-dev@lists.ozlabs.org
Subject: [PATCH 3/5] sparc: turn CONFIG_OF into a select
Date: Tue, 29 Jun 2010 12:44:50 +1000	[thread overview]
Message-ID: <20100629124450.5e85bafe.sfr@canb.auug.org.au> (raw)
In-Reply-To: <20100629123843.5f94d477.sfr@canb.auug.org.au>

so that we can make CONFIG_OF global and remove it from
the architecture Kconfig files later.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
---
 arch/sparc/Kconfig |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/arch/sparc/Kconfig b/arch/sparc/Kconfig
index 6f1470b..d02e8ac 100644
--- a/arch/sparc/Kconfig
+++ b/arch/sparc/Kconfig
@@ -18,6 +18,7 @@ config 64BIT
 config SPARC
 	bool
 	default y
+	select OF
 	select HAVE_IDE
 	select HAVE_OPROFILE
 	select HAVE_ARCH_KGDB if !SMP || SPARC64
@@ -149,7 +150,7 @@ config ARCH_NO_VIRT_TO_BUS
 	def_bool y
 
 config OF
-	def_bool y
+	bool
 
 config ARCH_SUPPORTS_DEBUG_PAGEALLOC
 	def_bool y if SPARC64
-- 
1.7.1

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

  parent reply	other threads:[~2010-06-29  2:44 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28 17:57 Using devices trees on X86 Stephen Neuendorffer
     [not found] ` <0bcc23b9-2cbd-4465-b17c-7b3c2dff9fd3-+Ck8Kgl/v09CYczPSvLbDrjjLBE8jN/0@public.gmane.org>
2010-06-28 18:08   ` Grant Likely
2010-06-29  2:38 ` Stephen Rothwell
2010-06-29  2:42   ` [PATCH 1/5] microblaze: turn CONFIG_OF into a select Stephen Rothwell
     [not found]     ` <20100629124200.20ca24b7.sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org>
2010-06-29  9:57       ` Michal Simek
2010-06-29  2:43   ` [PATCH 2/5] powerpc: " Stephen Rothwell
2010-06-29  2:44   ` Stephen Rothwell [this message]
     [not found]     ` <20100629124450.5e85bafe.sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org>
2010-06-29  3:11       ` [PATCH 3/5] sparc: " David Miller
2010-06-29  2:45   ` [PATCH 4/5] of: define CONFIG_OF globally so architectures can select it Stephen Rothwell
2010-06-29  2:47   ` [PATCH 5/5] of: remove architecture CONFIG_OF definitions Stephen Rothwell
2010-06-29  9:58     ` Michal Simek
2010-06-29  5:56   ` Using devices trees on X86 Grant Likely
2010-06-29  6:02     ` Stephen Rothwell
     [not found]   ` <20100629123843.5f94d477.sfr-3FnU+UHB4dNDw9hX6IcOSA@public.gmane.org>
2010-06-29 15:56     ` Stephen Neuendorffer

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=20100629124450.5e85bafe.sfr@canb.auug.org.au \
    --to=sfr@canb.auug.org.au \
    --cc=benh@kernel.crashing.org \
    --cc=davem@davemloft.net \
    --cc=devicetree-discuss@lists.ozlabs.org \
    --cc=grant.likely@secretlab.ca \
    --cc=linuxppc-dev@lists.ozlabs.org \
    --cc=microblaze-uclinux@itee.uq.edu.au \
    --cc=monstr@monstr.eu \
    --cc=paulus@samba.org \
    --cc=sparclinux@vger.kernel.org \
    --cc=stephen.neuendorffer@xilinx.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