xref: /linux/arch/sparc/Kconfig (revision 2a4814df545a0645aff6fc04e5106877cc576945)
1761b6026SBastian Blankconfig 64BIT
2761b6026SBastian Blank	bool "64-bit kernel" if ARCH = "sparc"
3761b6026SBastian Blank	default ARCH = "sparc64"
4761b6026SBastian Blank	help
5761b6026SBastian Blank	  SPARC is a family of RISC microprocessors designed and marketed by
6761b6026SBastian Blank	  Sun Microsystems, incorporated.  They are very widely found in Sun
7761b6026SBastian Blank	  workstations and clones.
8761b6026SBastian Blank
9761b6026SBastian Blank	  Say yes to build a 64-bit kernel - formerly known as sparc64
10761b6026SBastian Blank	  Say no to build a 32-bit kernel - formerly known as sparc
11761b6026SBastian Blank
1235da3e39SSam Ravnborgconfig SPARC
1335da3e39SSam Ravnborg	bool
1435da3e39SSam Ravnborg	default y
157b14c647SStephen Rothwell	select OF
163cfc535cSAndres Salomon	select OF_PROMTREE
1735da3e39SSam Ravnborg	select HAVE_IDE
1835da3e39SSam Ravnborg	select HAVE_OPROFILE
1926b4c912SSam Ravnborg	select HAVE_ARCH_KGDB if !SMP || SPARC64
2035da3e39SSam Ravnborg	select HAVE_ARCH_TRACEHOOK
2135da3e39SSam Ravnborg	select ARCH_WANT_OPTIONAL_GPIOLIB
2235da3e39SSam Ravnborg	select RTC_CLASS
2335da3e39SSam Ravnborg	select RTC_DRV_M48T59
24e360adbeSPeter Zijlstra	select HAVE_IRQ_WORK
2502f7a189SFUJITA Tomonori	select HAVE_DMA_ATTRS
26451d7400SFUJITA Tomonori	select HAVE_DMA_API_DEBUG
2746eb3b64SSteven Rostedt	select HAVE_ARCH_JUMP_LABEL
286baa9b20SSam Ravnborg	select HAVE_GENERIC_HARDIRQS
296baa9b20SSam Ravnborg	select GENERIC_IRQ_SHOW
30d6d04819SDaniel Hellstrom	select USE_GENERIC_SMP_HELPERS if SMP
3135da3e39SSam Ravnborg
3235da3e39SSam Ravnborgconfig SPARC32
33761b6026SBastian Blank	def_bool !64BIT
3435da3e39SSam Ravnborg
3526b4c912SSam Ravnborgconfig SPARC64
36761b6026SBastian Blank	def_bool 64BIT
375bc05308SSam Ravnborg	select ARCH_SUPPORTS_MSI
3826b4c912SSam Ravnborg	select HAVE_FUNCTION_TRACER
399960e9e8SDavid S. Miller	select HAVE_FUNCTION_GRAPH_TRACER
409960e9e8SDavid S. Miller	select HAVE_FUNCTION_GRAPH_FP_TEST
4163b75495SDavid S. Miller	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
4226b4c912SSam Ravnborg	select HAVE_KRETPROBES
4326b4c912SSam Ravnborg	select HAVE_KPROBES
444a0100f7SDavid S. Miller	select HAVE_RCU_TABLE_FREE if SMP
4595f72d1eSYinghai Lu	select HAVE_MEMBLOCK
46*2a4814dfSTejun Heo	select HAVE_MEMBLOCK_NODE_MAP
4767605d68SChristian Borntraeger	select HAVE_SYSCALL_WRAPPERS
489be12f9bSDavid S. Miller	select HAVE_DYNAMIC_FTRACE
499be12f9bSDavid S. Miller	select HAVE_FTRACE_MCOUNT_RECORD
50c658ad1bSDavid S. Miller	select HAVE_SYSCALL_TRACEPOINTS
5126b4c912SSam Ravnborg	select RTC_DRV_CMOS
5226b4c912SSam Ravnborg	select RTC_DRV_BQ4802
5326b4c912SSam Ravnborg	select RTC_DRV_SUN4V
5426b4c912SSam Ravnborg	select RTC_DRV_STARFIRE
55cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
56906010b2SPeter Zijlstra	select PERF_USE_VMALLOC
57fcd8d4f4SThomas Gleixner	select IRQ_PREFLOW_FASTEOI
58df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
59178a2960SDavid S. Miller	select HAVE_C_RECORDMCOUNT
6026b4c912SSam Ravnborg
615e538790SSam Ravnborgconfig ARCH_DEFCONFIG
625e538790SSam Ravnborg	string
635e538790SSam Ravnborg	default "arch/sparc/configs/sparc32_defconfig" if SPARC32
645e538790SSam Ravnborg	default "arch/sparc/configs/sparc64_defconfig" if SPARC64
655e538790SSam Ravnborg
66fe6875ecSSam Ravnborg# CONFIG_BITS can be used at source level to get 32/64 bits
67fe6875ecSSam Ravnborgconfig BITS
68fe6875ecSSam Ravnborg	int
69fe6875ecSSam Ravnborg	default 32 if SPARC32
70fe6875ecSSam Ravnborg	default 64 if SPARC64
715e538790SSam Ravnborg
720299b137SJohn Stultzconfig ARCH_USES_GETTIMEOFFSET
7326b4c912SSam Ravnborg	bool
740299b137SJohn Stultz	default y if SPARC32
7526b4c912SSam Ravnborg
7626b4c912SSam Ravnborgconfig GENERIC_CMOS_UPDATE
7726b4c912SSam Ravnborg	bool
78f5c9c9beSJohn Stultz	default y
7926b4c912SSam Ravnborg
8026b4c912SSam Ravnborgconfig GENERIC_CLOCKEVENTS
8126b4c912SSam Ravnborg	bool
8226b4c912SSam Ravnborg	default y if SPARC64
8326b4c912SSam Ravnborg
8426b4c912SSam Ravnborgconfig IOMMU_HELPER
8526b4c912SSam Ravnborg	bool
8626b4c912SSam Ravnborg	default y if SPARC64
8726b4c912SSam Ravnborg
8826b4c912SSam Ravnborgconfig STACKTRACE_SUPPORT
8926b4c912SSam Ravnborg	bool
9026b4c912SSam Ravnborg	default y if SPARC64
9126b4c912SSam Ravnborg
9226b4c912SSam Ravnborgconfig LOCKDEP_SUPPORT
9326b4c912SSam Ravnborg	bool
9426b4c912SSam Ravnborg	default y if SPARC64
9526b4c912SSam Ravnborg
966a5726ddSDavid S. Millerconfig HAVE_LATENCYTOP_SUPPORT
976a5726ddSDavid S. Miller	bool
986a5726ddSDavid S. Miller	default y if SPARC64
996a5726ddSDavid S. Miller
10026b4c912SSam Ravnborgconfig AUDIT_ARCH
10126b4c912SSam Ravnborg	bool
1027e7e93a2SDavid S. Miller	default y
10326b4c912SSam Ravnborg
10426b4c912SSam Ravnborgconfig HAVE_SETUP_PER_CPU_AREA
10526b4c912SSam Ravnborg	def_bool y if SPARC64
10626b4c912SSam Ravnborg
107bcb2107fSTejun Heoconfig NEED_PER_CPU_EMBED_FIRST_CHUNK
1084fd78a5fSDavid S. Miller	def_bool y if SPARC64
1094fd78a5fSDavid S. Miller
110a70c6913STejun Heoconfig NEED_PER_CPU_PAGE_FIRST_CHUNK
111a70c6913STejun Heo	def_bool y if SPARC64
112a70c6913STejun Heo
1131da177e4SLinus Torvaldsconfig MMU
1141da177e4SLinus Torvalds	bool
1151da177e4SLinus Torvalds	default y
1161da177e4SLinus Torvalds
1171da177e4SLinus Torvaldsconfig HIGHMEM
1181da177e4SLinus Torvalds	bool
11926b4c912SSam Ravnborg	default y if SPARC32
1201da177e4SLinus Torvalds
1215ac6da66SChristoph Lameterconfig ZONE_DMA
1225ac6da66SChristoph Lameter	bool
12326b4c912SSam Ravnborg	default y if SPARC32
1245ac6da66SChristoph Lameter
125d15b51beSFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
126d15b51beSFUJITA Tomonori	def_bool y
127d15b51beSFUJITA Tomonori
12818e98307SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
12918e98307SFUJITA Tomonori	def_bool y
13018e98307SFUJITA Tomonori
1311da177e4SLinus Torvaldsconfig GENERIC_ISA_DMA
1321da177e4SLinus Torvalds	bool
13326b4c912SSam Ravnborg	default y if SPARC32
1341da177e4SLinus Torvalds
13515df0f33SDavid S. Millerconfig GENERIC_GPIO
13615df0f33SDavid S. Miller	bool
13715df0f33SDavid S. Miller	help
13815df0f33SDavid S. Miller	  Generic GPIO API support
13915df0f33SDavid S. Miller
1400785b9dcSStephen Rothwellconfig ARCH_NO_VIRT_TO_BUS
1410785b9dcSStephen Rothwell	def_bool y
1420785b9dcSStephen Rothwell
1436a11f75bSAkinobu Mitaconfig ARCH_SUPPORTS_DEBUG_PAGEALLOC
1446a11f75bSAkinobu Mita	def_bool y if SPARC64
1456a11f75bSAkinobu Mita
1461da177e4SLinus Torvaldssource "init/Kconfig"
1471da177e4SLinus Torvalds
148dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
149dc52ddc0SMatt Helsley
15026b4c912SSam Ravnborgmenu "Processor type and features"
1511da177e4SLinus Torvalds
1521da177e4SLinus Torvaldsconfig SMP
1531da177e4SLinus Torvalds	bool "Symmetric multi-processing support (does not work on sun4/sun4c)"
1541da177e4SLinus Torvalds	---help---
1551da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
1561da177e4SLinus Torvalds	  a system with only one CPU, say N. If you have a system with more
1571da177e4SLinus Torvalds	  than one CPU, say Y.
1581da177e4SLinus Torvalds
1591da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
1601da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
1611da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
1621da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
1631da177e4SLinus Torvalds	  will run faster if you say N here.
1641da177e4SLinus Torvalds
1651da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
1661da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
1671da177e4SLinus Torvalds	  Management" code will be disabled if you say Y here.
1681da177e4SLinus Torvalds
16903502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
17003502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
1711da177e4SLinus Torvalds
1721da177e4SLinus Torvalds	  If you don't know what to do here, say N.
1731da177e4SLinus Torvalds
1741da177e4SLinus Torvaldsconfig NR_CPUS
17526b4c912SSam Ravnborg	int "Maximum number of CPUs"
1761da177e4SLinus Torvalds	depends on SMP
17726b4c912SSam Ravnborg	range 2 32 if SPARC32
17826b4c912SSam Ravnborg	range 2 1024 if SPARC64
17926b4c912SSam Ravnborg	default 32 if SPARC32
18026b4c912SSam Ravnborg	default 64 if SPARC64
1811da177e4SLinus Torvalds
18226b4c912SSam Ravnborgsource kernel/Kconfig.hz
18326b4c912SSam Ravnborg
18426b4c912SSam Ravnborgconfig RWSEM_GENERIC_SPINLOCK
18526b4c912SSam Ravnborg	bool
18626b4c912SSam Ravnborg	default y if SPARC32
18726b4c912SSam Ravnborg
18826b4c912SSam Ravnborgconfig RWSEM_XCHGADD_ALGORITHM
18926b4c912SSam Ravnborg	bool
19026b4c912SSam Ravnborg	default y if SPARC64
19126b4c912SSam Ravnborg
19226b4c912SSam Ravnborgconfig GENERIC_HWEIGHT
19326b4c912SSam Ravnborg	bool
19426b4c912SSam Ravnborg	default y if !ULTRA_HAS_POPULATION_COUNT
19526b4c912SSam Ravnborg
19626b4c912SSam Ravnborgconfig GENERIC_CALIBRATE_DELAY
19726b4c912SSam Ravnborg	bool
19826b4c912SSam Ravnborg	default y
19926b4c912SSam Ravnborg
20026b4c912SSam Ravnborgconfig ARCH_MAY_HAVE_PC_FDC
20126b4c912SSam Ravnborg	bool
20226b4c912SSam Ravnborg	default y
20326b4c912SSam Ravnborg
20426b4c912SSam Ravnborgconfig EMULATED_CMPXCHG
20526b4c912SSam Ravnborg	bool
20626b4c912SSam Ravnborg	default y if SPARC32
20726b4c912SSam Ravnborg	help
20826b4c912SSam Ravnborg	  Sparc32 does not have a CAS instruction like sparc64. cmpxchg()
20926b4c912SSam Ravnborg	  is emulated, and therefore it is not completely atomic.
21026b4c912SSam Ravnborg
211d670bd4fSSam Ravnborg# Makefile helpers
212d670bd4fSSam Ravnborgconfig SPARC32_SMP
213d670bd4fSSam Ravnborg	bool
214d670bd4fSSam Ravnborg	default y
215d670bd4fSSam Ravnborg	depends on SPARC32 && SMP
216d670bd4fSSam Ravnborg
217d670bd4fSSam Ravnborgconfig SPARC64_SMP
218d670bd4fSSam Ravnborg	bool
219d670bd4fSSam Ravnborg	default y
220d670bd4fSSam Ravnborg	depends on SPARC64 && SMP
221d670bd4fSSam Ravnborg
222c57ec52fSDavid S. Millerconfig EARLYFB
223c57ec52fSDavid S. Miller	bool "Support for early boot text console"
224c57ec52fSDavid S. Miller	default y
225c57ec52fSDavid S. Miller	depends on SPARC64
226c57ec52fSDavid S. Miller	help
227c57ec52fSDavid S. Miller	  Say Y here to enable a faster early framebuffer boot console.
228c57ec52fSDavid S. Miller
22926b4c912SSam Ravnborgchoice
23026b4c912SSam Ravnborg	prompt "Kernel page size" if SPARC64
23126b4c912SSam Ravnborg	default SPARC64_PAGE_SIZE_8KB
23226b4c912SSam Ravnborg
23326b4c912SSam Ravnborgconfig SPARC64_PAGE_SIZE_8KB
23426b4c912SSam Ravnborg	bool "8KB"
23526b4c912SSam Ravnborg	help
23626b4c912SSam Ravnborg	  This lets you select the page size of the kernel.
23726b4c912SSam Ravnborg
23826b4c912SSam Ravnborg	  8KB and 64KB work quite well, since SPARC ELF sections
23926b4c912SSam Ravnborg	  provide for up to 64KB alignment.
24026b4c912SSam Ravnborg
24126b4c912SSam Ravnborg	  If you don't know what to do, choose 8KB.
24226b4c912SSam Ravnborg
24326b4c912SSam Ravnborgconfig SPARC64_PAGE_SIZE_64KB
24426b4c912SSam Ravnborg	bool "64KB"
24526b4c912SSam Ravnborg
24626b4c912SSam Ravnborgendchoice
24726b4c912SSam Ravnborg
24826b4c912SSam Ravnborgconfig SECCOMP
24926b4c912SSam Ravnborg	bool "Enable seccomp to safely compute untrusted bytecode"
25026b4c912SSam Ravnborg	depends on SPARC64 && PROC_FS
25126b4c912SSam Ravnborg	default y
25226b4c912SSam Ravnborg	help
25326b4c912SSam Ravnborg	  This kernel feature is useful for number crunching applications
25426b4c912SSam Ravnborg	  that may need to compute untrusted bytecode during their
25526b4c912SSam Ravnborg	  execution. By using pipes or other transports made available to
25626b4c912SSam Ravnborg	  the process as file descriptors supporting the read/write
25726b4c912SSam Ravnborg	  syscalls, it's possible to isolate those applications in
25826b4c912SSam Ravnborg	  their own address space using seccomp. Once seccomp is
25926b4c912SSam Ravnborg	  enabled via /proc/<pid>/seccomp, it cannot be disabled
26026b4c912SSam Ravnborg	  and the task is only allowed to execute a few safe syscalls
26126b4c912SSam Ravnborg	  defined by each seccomp mode.
26226b4c912SSam Ravnborg
26326b4c912SSam Ravnborg	  If unsure, say Y. Only embedded should say N here.
26426b4c912SSam Ravnborg
26526b4c912SSam Ravnborgconfig HOTPLUG_CPU
26626b4c912SSam Ravnborg	bool "Support for hot-pluggable CPUs"
26726b4c912SSam Ravnborg	depends on SPARC64 && SMP
26826b4c912SSam Ravnborg	select HOTPLUG
26926b4c912SSam Ravnborg	help
27026b4c912SSam Ravnborg	  Say Y here to experiment with turning CPUs off and on.  CPUs
27126b4c912SSam Ravnborg	  can be controlled through /sys/devices/system/cpu/cpu#.
27226b4c912SSam Ravnborg	  Say N if you want to disable CPU hotplug.
27326b4c912SSam Ravnborg
27426b4c912SSam Ravnborgsource "kernel/time/Kconfig"
27526b4c912SSam Ravnborg
27626b4c912SSam Ravnborgif SPARC64
27726b4c912SSam Ravnborgsource "drivers/cpufreq/Kconfig"
27826b4c912SSam Ravnborg
27926b4c912SSam Ravnborgconfig US3_FREQ
28026b4c912SSam Ravnborg	tristate "UltraSPARC-III CPU Frequency driver"
28126b4c912SSam Ravnborg	depends on CPU_FREQ
28226b4c912SSam Ravnborg	select CPU_FREQ_TABLE
28326b4c912SSam Ravnborg	help
28426b4c912SSam Ravnborg	  This adds the CPUFreq driver for UltraSPARC-III processors.
28526b4c912SSam Ravnborg
28626b4c912SSam Ravnborg	  For details, take a look at <file:Documentation/cpu-freq>.
28726b4c912SSam Ravnborg
28826b4c912SSam Ravnborg	  If in doubt, say N.
28926b4c912SSam Ravnborg
29026b4c912SSam Ravnborgconfig US2E_FREQ
29126b4c912SSam Ravnborg	tristate "UltraSPARC-IIe CPU Frequency driver"
29226b4c912SSam Ravnborg	depends on CPU_FREQ
29326b4c912SSam Ravnborg	select CPU_FREQ_TABLE
29426b4c912SSam Ravnborg	help
29526b4c912SSam Ravnborg	  This adds the CPUFreq driver for UltraSPARC-IIe processors.
29626b4c912SSam Ravnborg
29726b4c912SSam Ravnborg	  For details, take a look at <file:Documentation/cpu-freq>.
29826b4c912SSam Ravnborg
29926b4c912SSam Ravnborg	  If in doubt, say N.
30026b4c912SSam Ravnborg
30126b4c912SSam Ravnborgendif
30226b4c912SSam Ravnborg
30326b4c912SSam Ravnborgconfig US3_MC
30426b4c912SSam Ravnborg	tristate "UltraSPARC-III Memory Controller driver"
30526b4c912SSam Ravnborg	depends on SPARC64
30626b4c912SSam Ravnborg	default y
30726b4c912SSam Ravnborg	help
30826b4c912SSam Ravnborg	  This adds a driver for the UltraSPARC-III memory controller.
30926b4c912SSam Ravnborg	  Loading this driver allows exact mnemonic strings to be
31026b4c912SSam Ravnborg	  printed in the event of a memory error, so that the faulty DIMM
31126b4c912SSam Ravnborg	  on the motherboard can be matched to the error.
31226b4c912SSam Ravnborg
31326b4c912SSam Ravnborg	  If in doubt, say Y, as this information can be very useful.
3141da177e4SLinus Torvalds
3151da177e4SLinus Torvalds# Global things across all Sun machines.
31626b4c912SSam Ravnborgconfig GENERIC_LOCKBREAK
31726b4c912SSam Ravnborg	bool
31826b4c912SSam Ravnborg	default y
31926b4c912SSam Ravnborg	depends on SPARC64 && SMP && PREEMPT
32026b4c912SSam Ravnborg
32126b4c912SSam Ravnborgchoice
32226b4c912SSam Ravnborg	prompt "SPARC64 Huge TLB Page Size"
32326b4c912SSam Ravnborg	depends on SPARC64 && HUGETLB_PAGE
32426b4c912SSam Ravnborg	default HUGETLB_PAGE_SIZE_4MB
32526b4c912SSam Ravnborg
32626b4c912SSam Ravnborgconfig HUGETLB_PAGE_SIZE_4MB
32726b4c912SSam Ravnborg	bool "4MB"
32826b4c912SSam Ravnborg
32926b4c912SSam Ravnborgconfig HUGETLB_PAGE_SIZE_512K
33026b4c912SSam Ravnborg	bool "512K"
33126b4c912SSam Ravnborg
33226b4c912SSam Ravnborgconfig HUGETLB_PAGE_SIZE_64K
33326b4c912SSam Ravnborg	depends on !SPARC64_PAGE_SIZE_64KB
33426b4c912SSam Ravnborg	bool "64K"
33526b4c912SSam Ravnborg
33626b4c912SSam Ravnborgendchoice
33726b4c912SSam Ravnborg
33826b4c912SSam Ravnborgconfig NUMA
33926b4c912SSam Ravnborg	bool "NUMA support"
34026b4c912SSam Ravnborg	depends on SPARC64 && SMP
34126b4c912SSam Ravnborg
34226b4c912SSam Ravnborgconfig NODES_SHIFT
34326b4c912SSam Ravnborg	int
34426b4c912SSam Ravnborg	default "4"
34526b4c912SSam Ravnborg	depends on NEED_MULTIPLE_NODES
34626b4c912SSam Ravnborg
34726b4c912SSam Ravnborg# Some NUMA nodes have memory ranges that span
34826b4c912SSam Ravnborg# other nodes.  Even though a pfn is valid and
34926b4c912SSam Ravnborg# between a node's start and end pfns, it may not
35026b4c912SSam Ravnborg# reside on that node.  See memmap_init_zone()
35126b4c912SSam Ravnborg# for details.
35226b4c912SSam Ravnborgconfig NODES_SPAN_OTHER_NODES
35326b4c912SSam Ravnborg	def_bool y
35426b4c912SSam Ravnborg	depends on NEED_MULTIPLE_NODES
35526b4c912SSam Ravnborg
35626b4c912SSam Ravnborgconfig ARCH_POPULATES_NODE_MAP
35726b4c912SSam Ravnborg	def_bool y if SPARC64
35826b4c912SSam Ravnborg
35926b4c912SSam Ravnborgconfig ARCH_SELECT_MEMORY_MODEL
36026b4c912SSam Ravnborg	def_bool y if SPARC64
36126b4c912SSam Ravnborg
36226b4c912SSam Ravnborgconfig ARCH_SPARSEMEM_ENABLE
36326b4c912SSam Ravnborg	def_bool y if SPARC64
36426b4c912SSam Ravnborg	select SPARSEMEM_VMEMMAP_ENABLE
36526b4c912SSam Ravnborg
36626b4c912SSam Ravnborgconfig ARCH_SPARSEMEM_DEFAULT
36726b4c912SSam Ravnborg	def_bool y if SPARC64
36826b4c912SSam Ravnborg
36926b4c912SSam Ravnborgsource "mm/Kconfig"
37026b4c912SSam Ravnborg
37126b4c912SSam Ravnborgconfig SCHED_SMT
37226b4c912SSam Ravnborg	bool "SMT (Hyperthreading) scheduler support"
37326b4c912SSam Ravnborg	depends on SPARC64 && SMP
37426b4c912SSam Ravnborg	default y
37526b4c912SSam Ravnborg	help
37626b4c912SSam Ravnborg	  SMT scheduler support improves the CPU scheduler's decision making
37726b4c912SSam Ravnborg	  when dealing with SPARC cpus at a cost of slightly increased overhead
37826b4c912SSam Ravnborg	  in some places. If unsure say N here.
37926b4c912SSam Ravnborg
38026b4c912SSam Ravnborgconfig SCHED_MC
38126b4c912SSam Ravnborg	bool "Multi-core scheduler support"
38226b4c912SSam Ravnborg	depends on SPARC64 && SMP
38326b4c912SSam Ravnborg	default y
38426b4c912SSam Ravnborg	help
38526b4c912SSam Ravnborg	  Multi-core scheduler support improves the CPU scheduler's decision
38626b4c912SSam Ravnborg	  making when dealing with multi-core CPU chips at a cost of slightly
38726b4c912SSam Ravnborg	  increased overhead in some places. If unsure say N here.
38826b4c912SSam Ravnborg
38926b4c912SSam Ravnborgif SPARC64
39026b4c912SSam Ravnborgsource "kernel/Kconfig.preempt"
39126b4c912SSam Ravnborgendif
39226b4c912SSam Ravnborg
39326b4c912SSam Ravnborgconfig CMDLINE_BOOL
39426b4c912SSam Ravnborg	bool "Default bootloader kernel arguments"
39526b4c912SSam Ravnborg	depends on SPARC64
39626b4c912SSam Ravnborg
39726b4c912SSam Ravnborgconfig CMDLINE
39826b4c912SSam Ravnborg	string "Initial kernel command string"
39926b4c912SSam Ravnborg	depends on CMDLINE_BOOL
40026b4c912SSam Ravnborg	default "console=ttyS0,9600 root=/dev/sda1"
40126b4c912SSam Ravnborg	help
40226b4c912SSam Ravnborg	  Say Y here if you want to be able to pass default arguments to
40326b4c912SSam Ravnborg	  the kernel. This will be overridden by the bootloader, if you
40426b4c912SSam Ravnborg	  use one (such as SILO). This is most useful if you want to boot
40526b4c912SSam Ravnborg	  a kernel from TFTP, and want default options to be available
40626b4c912SSam Ravnborg	  with having them passed on the command line.
40726b4c912SSam Ravnborg
40826b4c912SSam Ravnborg	  NOTE: This option WILL override the PROM bootargs setting!
40926b4c912SSam Ravnborg
41026b4c912SSam Ravnborgconfig SUN_PM
41126b4c912SSam Ravnborg	bool
41226b4c912SSam Ravnborg	default y if SPARC32
41326b4c912SSam Ravnborg	help
41426b4c912SSam Ravnborg	  Enable power management and CPU standby features on supported
41526b4c912SSam Ravnborg	  SPARC platforms.
41626b4c912SSam Ravnborg
41726b4c912SSam Ravnborgconfig SPARC_LED
41826b4c912SSam Ravnborg	tristate "Sun4m LED driver"
41926b4c912SSam Ravnborg	depends on SPARC32
42026b4c912SSam Ravnborg	help
42126b4c912SSam Ravnborg	  This driver toggles the front-panel LED on sun4m systems
42226b4c912SSam Ravnborg	  in a user-specifiable manner.  Its state can be probed
42326b4c912SSam Ravnborg	  by reading /proc/led and its blinking mode can be changed
42426b4c912SSam Ravnborg	  via writes to /proc/led
42526b4c912SSam Ravnborg
4261da177e4SLinus Torvaldsconfig SERIAL_CONSOLE
4271da177e4SLinus Torvalds	bool
42826b4c912SSam Ravnborg	depends on SPARC32
4291da177e4SLinus Torvalds	default y
4301da177e4SLinus Torvalds	---help---
4311da177e4SLinus Torvalds	  If you say Y here, it will be possible to use a serial port as the
4321da177e4SLinus Torvalds	  system console (the system console is the device which receives all
4331da177e4SLinus Torvalds	  kernel messages and warnings and which allows logins in single user
4341da177e4SLinus Torvalds	  mode). This could be useful if some terminal or printer is connected
4351da177e4SLinus Torvalds	  to that serial port.
4361da177e4SLinus Torvalds
4371da177e4SLinus Torvalds	  Even if you say Y here, the currently visible virtual console
4381da177e4SLinus Torvalds	  (/dev/tty0) will still be used as the system console by default, but
4391da177e4SLinus Torvalds	  you can alter that using a kernel command line option such as
4401da177e4SLinus Torvalds	  "console=ttyS1". (Try "man bootparam" or see the documentation of
4411da177e4SLinus Torvalds	  your boot loader (silo) about how to pass options to the kernel at
4421da177e4SLinus Torvalds	  boot time.)
4431da177e4SLinus Torvalds
4441da177e4SLinus Torvalds	  If you don't have a graphics card installed and you say Y here, the
4451da177e4SLinus Torvalds	  kernel will automatically use the first serial line, /dev/ttyS0, as
4461da177e4SLinus Torvalds	  system console.
4471da177e4SLinus Torvalds
4481da177e4SLinus Torvalds	  If unsure, say N.
4491da177e4SLinus Torvalds
4505213a780SKonrad Eiseleconfig SPARC_LEON
4515213a780SKonrad Eisele	bool "Sparc Leon processor family"
4525213a780SKonrad Eisele	depends on SPARC32
4535213a780SKonrad Eisele	---help---
4545213a780SKonrad Eisele	  If you say Y here if you are running on a SPARC-LEON processor.
4555213a780SKonrad Eisele	  The LEON processor is a synthesizable VHDL model of the
4565213a780SKonrad Eisele	  SPARC-v8 standard. LEON is  part of the GRLIB collection of
4575213a780SKonrad Eisele	  IP cores that are distributed under GPL. GRLIB can be downloaded
4585213a780SKonrad Eisele	  from www.gaisler.com. You can download a sparc-linux cross-compilation
4595213a780SKonrad Eisele	  toolchain at www.gaisler.com.
4605213a780SKonrad Eisele
461684151a7SDaniel Hellstromif SPARC_LEON
462684151a7SDaniel Hellstrommenu "U-Boot options"
463684151a7SDaniel Hellstrom
464684151a7SDaniel Hellstromconfig UBOOT_LOAD_ADDR
465684151a7SDaniel Hellstrom	hex "uImage Load Address"
466684151a7SDaniel Hellstrom	default 0x40004000
467684151a7SDaniel Hellstrom	---help---
468684151a7SDaniel Hellstrom	 U-Boot kernel load address, the address in physical address space
469684151a7SDaniel Hellstrom	 where u-boot will place the Linux kernel before booting it.
470684151a7SDaniel Hellstrom	 This address is normally the base address of main memory + 0x4000.
471684151a7SDaniel Hellstrom
472684151a7SDaniel Hellstromconfig UBOOT_FLASH_ADDR
473684151a7SDaniel Hellstrom	hex "uImage.o Load Address"
474684151a7SDaniel Hellstrom	default 0x00080000
475684151a7SDaniel Hellstrom	---help---
476684151a7SDaniel Hellstrom	 Optional setting only affecting the uImage.o ELF-image used to
477684151a7SDaniel Hellstrom	 download the uImage file to the target using a ELF-loader other than
478684151a7SDaniel Hellstrom	 U-Boot. It may for example be used to download an uImage to FLASH with
479684151a7SDaniel Hellstrom	 the GRMON utility before even starting u-boot.
480684151a7SDaniel Hellstrom
481684151a7SDaniel Hellstromconfig UBOOT_ENTRY_ADDR
482684151a7SDaniel Hellstrom	hex "uImage Entry Address"
483684151a7SDaniel Hellstrom	default 0xf0004000
484684151a7SDaniel Hellstrom	---help---
485684151a7SDaniel Hellstrom	 Do not change this unless you know what you're doing. This is
486684151a7SDaniel Hellstrom	 hardcoded by the SPARC32 and LEON port.
487684151a7SDaniel Hellstrom
488684151a7SDaniel Hellstrom	 This is the virtual address u-boot jumps to when booting the Linux
489684151a7SDaniel Hellstrom	 Kernel.
490684151a7SDaniel Hellstrom
491684151a7SDaniel Hellstromendmenu
492684151a7SDaniel Hellstromendif
493684151a7SDaniel Hellstrom
4944b27e0e1SSam Ravnborgendmenu
4954b27e0e1SSam Ravnborg
4964b27e0e1SSam Ravnborgmenu "Bus options (PCI etc.)"
4974b27e0e1SSam Ravnborgconfig SBUS
4984b27e0e1SSam Ravnborg	bool
4994b27e0e1SSam Ravnborg	default y
5004b27e0e1SSam Ravnborg
5014b27e0e1SSam Ravnborgconfig SBUSCHAR
5024b27e0e1SSam Ravnborg	bool
5034b27e0e1SSam Ravnborg	default y
5044b27e0e1SSam Ravnborg
50526b4c912SSam Ravnborgconfig SUN_LDOMS
50626b4c912SSam Ravnborg	bool "Sun Logical Domains support"
50726b4c912SSam Ravnborg	depends on SPARC64
50826b4c912SSam Ravnborg	help
50926b4c912SSam Ravnborg	  Say Y here is you want to support virtual devices via
51026b4c912SSam Ravnborg	  Logical Domains.
51126b4c912SSam Ravnborg
5121da177e4SLinus Torvaldsconfig PCI
5131da177e4SLinus Torvalds	bool "Support for PCI and PS/2 keyboard/mouse"
5141da177e4SLinus Torvalds	help
51526b4c912SSam Ravnborg	  Find out whether your system includes a PCI bus. PCI is the name of
51626b4c912SSam Ravnborg	  a bus system, i.e. the way the CPU talks to the other stuff inside
51726b4c912SSam Ravnborg	  your box.  If you say Y here, the kernel will include drivers and
51826b4c912SSam Ravnborg	  infrastructure code to support PCI bus devices.
51926b4c912SSam Ravnborg
5201da177e4SLinus Torvalds	  CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
5211da177e4SLinus Torvalds	  CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
5221da177e4SLinus Torvalds	  All of these platforms are extremely obscure, so say N if unsure.
5231da177e4SLinus Torvalds
52426b4c912SSam Ravnborgconfig PCI_DOMAINS
52526b4c912SSam Ravnborg	def_bool PCI if SPARC64
52626b4c912SSam Ravnborg
52736e23590SMatthew Wilcoxconfig PCI_SYSCALL
52836e23590SMatthew Wilcox	def_bool PCI
52936e23590SMatthew Wilcox
530cfe3af5dSDaniel Hellstromconfig PCIC_PCI
531cfe3af5dSDaniel Hellstrom	bool
5328c47f8d0SDavid S. Miller	depends on PCI && SPARC32 && !SPARC_LEON
533cfe3af5dSDaniel Hellstrom	default y
534cfe3af5dSDaniel Hellstrom
53526893c13SDaniel Hellstromconfig LEON_PCI
53626893c13SDaniel Hellstrom	bool
53726893c13SDaniel Hellstrom	depends on PCI && SPARC_LEON
53826893c13SDaniel Hellstrom	default y
53926893c13SDaniel Hellstrom
5405d07b786SDaniel Hellstromconfig GRPCI2
5415d07b786SDaniel Hellstrom	bool "GRPCI2 Host Bridge Support"
5425d07b786SDaniel Hellstrom	depends on LEON_PCI
5435d07b786SDaniel Hellstrom	default y
5445d07b786SDaniel Hellstrom	help
5455d07b786SDaniel Hellstrom	  Say Y here to include the GRPCI2 Host Bridge Driver.
5465d07b786SDaniel Hellstrom
5471da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
5481da177e4SLinus Torvalds
549c6afec5eSDavid S. Millersource "drivers/pcmcia/Kconfig"
550c6afec5eSDavid S. Miller
5511da177e4SLinus Torvaldsconfig SUN_OPENPROMFS
5521da177e4SLinus Torvalds	tristate "Openprom tree appears in /proc/openprom"
5531da177e4SLinus Torvalds	help
5541da177e4SLinus Torvalds	  If you say Y, the OpenPROM device tree will be available as a
5551da177e4SLinus Torvalds	  virtual file system, which you can mount to /proc/openprom by "mount
5561da177e4SLinus Torvalds	  -t openpromfs none /proc/openprom".
5571da177e4SLinus Torvalds
5581da177e4SLinus Torvalds	  To compile the /proc/openprom support as a module, choose M here: the
5591da177e4SLinus Torvalds	  module will be called openpromfs.
5601da177e4SLinus Torvalds
5611da177e4SLinus Torvalds	  Only choose N if you know in advance that you will not need to modify
5621da177e4SLinus Torvalds	  OpenPROM settings on the running system.
5631da177e4SLinus Torvalds
5641cb85e80SPaul Bolle# Makefile helper
565d670bd4fSSam Ravnborgconfig SPARC64_PCI
566d670bd4fSSam Ravnborg	bool
567d670bd4fSSam Ravnborg	default y
568d670bd4fSSam Ravnborg	depends on SPARC64 && PCI
56930aaa808SWilliam Lee Irwin III
57030aaa808SWilliam Lee Irwin IIIendmenu
57130aaa808SWilliam Lee Irwin III
57212e271a8SSam Ravnborgmenu "Executable file formats"
57312e271a8SSam Ravnborg
57412e271a8SSam Ravnborgsource "fs/Kconfig.binfmt"
57512e271a8SSam Ravnborg
57626b4c912SSam Ravnborgconfig COMPAT
57726b4c912SSam Ravnborg	bool
57826b4c912SSam Ravnborg	depends on SPARC64
57926b4c912SSam Ravnborg	default y
58026b4c912SSam Ravnborg	select COMPAT_BINFMT_ELF
58126b4c912SSam Ravnborg
58226b4c912SSam Ravnborgconfig SYSVIPC_COMPAT
58326b4c912SSam Ravnborg	bool
58426b4c912SSam Ravnborg	depends on COMPAT && SYSVIPC
58526b4c912SSam Ravnborg	default y
58626b4c912SSam Ravnborg
58712e271a8SSam Ravnborgendmenu
58812e271a8SSam Ravnborg
589d5950b43SSam Ravnborgsource "net/Kconfig"
590d5950b43SSam Ravnborg
59130aaa808SWilliam Lee Irwin IIIsource "drivers/Kconfig"
5921da177e4SLinus Torvalds
5931da177e4SLinus Torvaldssource "drivers/sbus/char/Kconfig"
5941da177e4SLinus Torvalds
5951da177e4SLinus Torvaldssource "fs/Kconfig"
5961da177e4SLinus Torvalds
5971da177e4SLinus Torvaldssource "arch/sparc/Kconfig.debug"
5981da177e4SLinus Torvalds
5991da177e4SLinus Torvaldssource "security/Kconfig"
6001da177e4SLinus Torvalds
6011da177e4SLinus Torvaldssource "crypto/Kconfig"
6021da177e4SLinus Torvalds
6031da177e4SLinus Torvaldssource "lib/Kconfig"
604