linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Rothwell <sfr@canb.auug.org.au>
To: Benjamin Herrenschmidt <benh@kernel.crashing.org>,
	Paul Mackerras <paulus@samba.org>,
	linuxppc-dev@lists.ozlabs.org
Cc: Michal Simek <monstr@monstr.eu>,
	microblaze-uclinux@itee.uq.edu.au,
	David Miller <davem@davemloft.net>,
	sparclinux@vger.kernel.org, devicetree-discuss@lists.ozlabs.org
Subject: [PATCH 2/5] powerpc: turn CONFIG_OF into a select
Date: Tue, 29 Jun 2010 12:43:34 +1000	[thread overview]
Message-ID: <20100629124334.8f3678e5.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/powerpc/Kconfig |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 328774b..3697231 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -120,6 +120,8 @@ config ARCH_NO_VIRT_TO_BUS
 config PPC
 	bool
 	default y
+	select OF
+	select OF_FLATTREE
 	select HAVE_FTRACE_MCOUNT_RECORD
 	select HAVE_DYNAMIC_FTRACE
 	select HAVE_FUNCTION_TRACER
@@ -173,8 +175,7 @@ config PPC_OF
 	def_bool y
 
 config OF
-	def_bool y
-	select OF_FLATTREE
+	bool
 
 config PPC_UDBG_16550
 	bool
-- 
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:43 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <0bcc23b9-2cbd-4465-b17c-7b3c2dff9fd3@VA3EHSMHS007.ehs.local>
2010-06-29  2:38 ` Using devices trees on X86 Stephen Rothwell
2010-06-29  2:42   ` [PATCH 1/5] microblaze: turn CONFIG_OF into a select Stephen Rothwell
2010-06-29  9:57     ` Michal Simek
2010-06-29  2:43   ` Stephen Rothwell [this message]
2010-06-29  2:44   ` [PATCH 3/5] sparc: " Stephen Rothwell
2010-06-29  3:11     ` 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
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=20100629124334.8f3678e5.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=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 \
    /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).