All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] MIPS: Only allow Cavium OCTEON to be configured for boards that support it.
@ 2009-01-15 17:44 David Daney
  2009-01-15 17:46 ` David Daney
  0 siblings, 1 reply; 2+ messages in thread
From: David Daney @ 2009-01-15 17:44 UTC (permalink / raw)
  To: linux-mips; +Cc: David Daney, Atsushi Nemoto

Signed-off-by: David Daney <ddaney@caviumnetworks.com>
CC: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
---
 arch/mips/Kconfig |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/arch/mips/Kconfig b/arch/mips/Kconfig
index 6dddea3..bdb1790 100644
--- a/arch/mips/Kconfig
+++ b/arch/mips/Kconfig
@@ -603,7 +603,7 @@ config CAVIUM_OCTEON_SIMULATOR
 	select SYS_SUPPORTS_64BIT_KERNEL
 	select SYS_SUPPORTS_BIG_ENDIAN
 	select SYS_SUPPORTS_HIGHMEM
-	select CPU_CAVIUM_OCTEON
+	select SYS_HAS_CPU_CPU_CAVIUM_OCTEON
 	help
 	  The Octeon simulator is software performance model of the Cavium
 	  Octeon Processor. It supports simulating Octeon processors on x86
@@ -618,7 +618,7 @@ config CAVIUM_OCTEON_REFERENCE_BOARD
 	select SYS_SUPPORTS_BIG_ENDIAN
 	select SYS_SUPPORTS_HIGHMEM
 	select SYS_HAS_EARLY_PRINTK
-	select CPU_CAVIUM_OCTEON
+	select SYS_HAS_CPU_CPU_CAVIUM_OCTEON
 	select SWAP_IO_SPACE
 	help
 	  This option supports all of the Octeon reference boards from Cavium
@@ -1237,6 +1237,7 @@ config CPU_SB1
 
 config CPU_CAVIUM_OCTEON
 	bool "Cavium Octeon processor"
+	depends on SYS_HAS_CPU_CPU_CAVIUM_OCTEON
 	select IRQ_CPU
 	select IRQ_CPU_OCTEON
 	select CPU_HAS_PREFETCH
@@ -1317,6 +1318,9 @@ config SYS_HAS_CPU_RM9000
 config SYS_HAS_CPU_SB1
 	bool
 
+config SYS_HAS_CPU_CPU_CAVIUM_OCTEON
+	bool
+
 #
 # CPU may reorder R->R, R->W, W->R, W->W
 # Reordering beyond LL and SC is handled in WEAK_REORDERING_BEYOND_LLSC
-- 
1.5.6.6

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] MIPS: Only allow Cavium OCTEON to be configured for boards that support it.
  2009-01-15 17:44 [PATCH] MIPS: Only allow Cavium OCTEON to be configured for boards that support it David Daney
@ 2009-01-15 17:46 ` David Daney
  0 siblings, 0 replies; 2+ messages in thread
From: David Daney @ 2009-01-15 17:46 UTC (permalink / raw)
  To: David Daney; +Cc: linux-mips, Atsushi Nemoto

David Daney wrote:
> Signed-off-by: David Daney <ddaney@caviumnetworks.com>
> CC: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
> ---
>  arch/mips/Kconfig |    8 ++++++--
>  1 files changed, 6 insertions(+), 2 deletions(-)
> 
[...]
>  
> +config SYS_HAS_CPU_CPU_CAVIUM_OCTEON
> +	bool
> +

Probably there are too may CPUs in the name.  These are things that are 
only found after mailing the patch.

I will send a fixed patch.

David Daney

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-01-15 17:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 17:44 [PATCH] MIPS: Only allow Cavium OCTEON to be configured for boards that support it David Daney
2009-01-15 17:46 ` David Daney

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.