]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
sh: Clean up SR.RB Kconfig mess.
authorPaul Mundt <lethal@linux-sh.org>
Wed, 31 Oct 2007 06:22:45 +0000 (15:22 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Wed, 31 Oct 2007 06:22:45 +0000 (15:22 +0900)
CPU_HAS_SR_RB is selected by both CPU_SH3 and CPU_SH4, so having a
dependency and default y on those additionally doesn't make much sense.
The select also has to be special cased for CPUs that don't support
this.

This is also something that has been abused too much as a result
of being user-visible, hence the addition of the select in the first
place. So just kill the user-visibility entirely while we're at it.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/Kconfig

index 42d811325ffba4796652de52f5c32f630aa80adf..22a3eb38438b14e2cb2d5c5e4108c1ae779f2dfc 100644 (file)
@@ -182,9 +182,7 @@ config CPU_HAS_IPR_IRQ
        bool
 
 config CPU_HAS_SR_RB
-       bool "CPU has SR.RB"
-       depends on CPU_SH3 || CPU_SH4
-       default y
+       bool
        help
          This will enable the use of SR.RB register bank usage. Processors
          that are lacking this bit must have another method in place for