linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: Kumar Gala <galak@kernel.crashing.org>
To: linuxppc-dev@ozlabs.org
Subject: [PATCH 1/7] Ensure platform CONFIG options have correct dependencies
Date: Thu, 12 Apr 2007 18:09:24 -0500 (CDT)	[thread overview]
Message-ID: <Pine.LNX.4.64.0704121808450.28324@localhost.localdomain> (raw)
In-Reply-To: <Pine.LNX.4.64.0704121806330.28324@localhost.localdomain>

We currently support TAU and CPU frequency scaling only on discrete
(non-SOC) processors.

Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
---
 arch/powerpc/platforms/Kconfig |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/arch/powerpc/platforms/Kconfig b/arch/powerpc/platforms/Kconfig
index 161ab79..176a27f 100644
--- a/arch/powerpc/platforms/Kconfig
+++ b/arch/powerpc/platforms/Kconfig
@@ -3,6 +3,7 @@ menu "Platform support"

 choice
 	prompt "Machine type"
+	depends on PPC64 || CLASSIC32
 	default PPC_MULTIPLATFORM

 config PPC_MULTIPLATFORM
@@ -137,6 +138,9 @@ config GENERIC_IOMAP
 	bool
 	default n

+menu "CPU Frequency support"
+	depends on PPC64 || CLASSIC32
+
 source "drivers/cpufreq/Kconfig"

 config CPU_FREQ_PMAC
@@ -155,6 +159,7 @@ config CPU_FREQ_PMAC64
 	help
 	  This adds support for frequency switching on Apple iMac G5,
 	  and some of the more recent desktop G5 machines as well.
+endmenu

 config PPC601_SYNC_FIX
 	bool "Workarounds for PPC601 bugs"
@@ -172,7 +177,7 @@ config PPC601_SYNC_FIX

 config TAU
 	bool "On-chip CPU temperature sensor support"
-	depends on 6xx
+	depends on CLASSIC32
 	help
 	  G3 and G4 processors have an on-chip temperature sensor called the
 	  'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
-- 
1.5.0.6

  reply	other threads:[~2007-04-12 23:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-12 23:08 [PATCH 0/7] Kconfig cleanup part II Kumar Gala
2007-04-12 23:09 ` Kumar Gala [this message]
2007-04-12 23:09 ` [PATCH 2/7] Convert 86xx platform to unified platform Kconfig Kumar Gala
2007-04-12 23:10 ` [PATCH 3/7] Convert 83xx " Kumar Gala
2007-04-12 23:11 ` [PATCH 4/7] Convert 82xx " Kumar Gala
2007-04-12 23:11 ` [PATCH 5/7] Convert 8xx " Kumar Gala
2007-04-12 23:12 ` [PATCH 6/7] Convert 85xx " Kumar Gala
2007-04-12 23:12 ` [PATCH 7/7] Miscellaneous arch/powerpc Kconfig and platform/Kconfig cleanup Kumar Gala
2007-04-13 11:37 ` [PATCH 0/7] Kconfig cleanup part II Arnd Bergmann
2007-04-13 11:48   ` David Gibson
2007-04-13 15:02   ` Kumar Gala

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=Pine.LNX.4.64.0704121808450.28324@localhost.localdomain \
    --to=galak@kernel.crashing.org \
    --cc=linuxppc-dev@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).