Skip to content

Commit

Permalink
sparc: refactor Kconfig a little
Browse files Browse the repository at this point in the history
Mode declaration of SPARC up in the top
to match the structure of sparc64 Kconfig

Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Sam Ravnborg authored and David S. Miller committed Dec 4, 2008
1 parent 5bb28a5 commit 35da3e3
Showing 1 changed file with 24 additions and 23 deletions.
47 changes: 24 additions & 23 deletions arch/sparc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,30 @@

mainmenu "Linux/SPARC Kernel Configuration"

config SPARC
bool
default y
select HAVE_IDE
select HAVE_OPROFILE
select HAVE_ARCH_KGDB if !SMP
select HAVE_ARCH_TRACEHOOK
select ARCH_WANT_OPTIONAL_GPIOLIB
select RTC_CLASS
select RTC_DRV_M48T59

# Identify this as a Sparc32 build
config SPARC32
bool
default y
help
SPARC is a family of RISC microprocessors designed and marketed by
Sun Microsystems, incorporated. They are very widely found in Sun
workstations and clones. This port covers the original 32-bit SPARC;
it is old and stable and usually considered one of the "big three"
along with the Intel and Alpha ports. The UltraLinux project
maintains both the SPARC32 and SPARC64 ports; its web page is
available at <http://www.ultralinux.org/>.

config MMU
bool
default y
Expand Down Expand Up @@ -69,29 +93,6 @@ config NR_CPUS
depends on SMP
default "32"

config SPARC
bool
default y
select HAVE_IDE
select HAVE_OPROFILE
select HAVE_ARCH_KGDB if !SMP
select HAVE_ARCH_TRACEHOOK
select ARCH_WANT_OPTIONAL_GPIOLIB
select RTC_CLASS
select RTC_DRV_M48T59

# Identify this as a Sparc32 build
config SPARC32
bool
default y
help
SPARC is a family of RISC microprocessors designed and marketed by
Sun Microsystems, incorporated. They are very widely found in Sun
workstations and clones. This port covers the original 32-bit SPARC;
it is old and stable and usually considered one of the "big three"
along with the Intel and Alpha ports. The UltraLinux project
maintains both the SPARC32 and SPARC64 ports; its web page is
available at <http://www.ultralinux.org/>.

# Global things across all Sun machines.
config ISA
Expand Down

0 comments on commit 35da3e3

Please sign in to comment.