xref: /linux/arch/sparc/Kconfig (revision 52ad6b3f90c63653ba24c4f63f218a925b8e14d7)
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
217ac57a89SCatalin Marinas	select SYSCTL_EXCEPTION_TRACE
2235da3e39SSam Ravnborg	select ARCH_WANT_OPTIONAL_GPIOLIB
23193d2aadSDavid S. Miller	select ARCH_HAS_ATOMIC64_DEC_IF_POSITIVE
2435da3e39SSam Ravnborg	select RTC_CLASS
2535da3e39SSam Ravnborg	select RTC_DRV_M48T59
26e360adbeSPeter Zijlstra	select HAVE_IRQ_WORK
2702f7a189SFUJITA Tomonori	select HAVE_DMA_ATTRS
28451d7400SFUJITA Tomonori	select HAVE_DMA_API_DEBUG
2946eb3b64SSteven Rostedt	select HAVE_ARCH_JUMP_LABEL
306baa9b20SSam Ravnborg	select HAVE_GENERIC_HARDIRQS
316baa9b20SSam Ravnborg	select GENERIC_IRQ_SHOW
32c1d7e01dSWill Deacon	select ARCH_WANT_IPC_PARSE_VERSION
33d6d04819SDaniel Hellstrom	select USE_GENERIC_SMP_HELPERS if SMP
34a21a2fd4SMichael S. Tsirkin	select GENERIC_PCI_IOMAP
35d314d74cSCong Wang	select HAVE_NMI_WATCHDOG if SPARC64
36e47b65b0SSam Ravnborg	select HAVE_BPF_JIT
379b2a60c4SCatalin Marinas	select HAVE_DEBUG_BUGVERBOSE
38f0a2bc7eSThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
39ded1cc5cSAnna-Maria Gleixner	select GENERIC_CMOS_UPDATE
40c7523a7cSLinus Torvalds	select GENERIC_CLOCKEVENTS
412922585bSDavid S. Miller	select GENERIC_STRNCPY_FROM_USER
422c66f623SDavid Miller	select GENERIC_STRNLEN_USER
43786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
44eaca6eaeSAl Viro	select ODD_RT_SIGACTION
4599b06febSAl Viro	select GENERIC_SIGALTSTACK
468d65681dSAl Viro	select GENERIC_COMPAT_RT_SIGQUEUEINFO
47826c8772SAl Viro	select GENERIC_COMPAT_RT_SIGPROCMASK
4855bb5a1eSAl Viro	select GENERIC_COMPAT_RT_SIGPENDING
49bdc40abfSAl Viro	select GENERIC_COMPAT_RT_SIGACTION
50*52ad6b3fSAl Viro	select OLD_SIGSUSPEND
5135da3e39SSam Ravnborg
5235da3e39SSam Ravnborgconfig SPARC32
53761b6026SBastian Blank	def_bool !64BIT
54aea1181bSSam Ravnborg	select GENERIC_ATOMIC64
55c6df4b17SDavid Miller	select CLZ_TAB
56af1839ebSCatalin Marinas	select HAVE_UID16
57a274bd49SAl Viro	select OLD_SIGACTION
5835da3e39SSam Ravnborg
5926b4c912SSam Ravnborgconfig SPARC64
60761b6026SBastian Blank	def_bool 64BIT
615bc05308SSam Ravnborg	select ARCH_SUPPORTS_MSI
6226b4c912SSam Ravnborg	select HAVE_FUNCTION_TRACER
639960e9e8SDavid S. Miller	select HAVE_FUNCTION_GRAPH_TRACER
649960e9e8SDavid S. Miller	select HAVE_FUNCTION_GRAPH_FP_TEST
6563b75495SDavid S. Miller	select HAVE_FUNCTION_TRACE_MCOUNT_TEST
6626b4c912SSam Ravnborg	select HAVE_KRETPROBES
6726b4c912SSam Ravnborg	select HAVE_KPROBES
684a0100f7SDavid S. Miller	select HAVE_RCU_TABLE_FREE if SMP
6995f72d1eSYinghai Lu	select HAVE_MEMBLOCK
702a4814dfSTejun Heo	select HAVE_MEMBLOCK_NODE_MAP
7167605d68SChristian Borntraeger	select HAVE_SYSCALL_WRAPPERS
729be12f9bSDavid S. Miller	select HAVE_DYNAMIC_FTRACE
739be12f9bSDavid S. Miller	select HAVE_FTRACE_MCOUNT_RECORD
74c658ad1bSDavid S. Miller	select HAVE_SYSCALL_TRACEPOINTS
75b69ec42bSCatalin Marinas	select HAVE_DEBUG_KMEMLEAK
7626b4c912SSam Ravnborg	select RTC_DRV_CMOS
7726b4c912SSam Ravnborg	select RTC_DRV_BQ4802
7826b4c912SSam Ravnborg	select RTC_DRV_SUN4V
7926b4c912SSam Ravnborg	select RTC_DRV_STARFIRE
80cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
81906010b2SPeter Zijlstra	select PERF_USE_VMALLOC
82fcd8d4f4SThomas Gleixner	select IRQ_PREFLOW_FASTEOI
83df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
84178a2960SDavid S. Miller	select HAVE_C_RECORDMCOUNT
85625d693eSDavid S. Miller	select NO_BOOTMEM
8626b4c912SSam Ravnborg
875e538790SSam Ravnborgconfig ARCH_DEFCONFIG
885e538790SSam Ravnborg	string
895e538790SSam Ravnborg	default "arch/sparc/configs/sparc32_defconfig" if SPARC32
905e538790SSam Ravnborg	default "arch/sparc/configs/sparc64_defconfig" if SPARC64
915e538790SSam Ravnborg
92fe6875ecSSam Ravnborg# CONFIG_BITS can be used at source level to get 32/64 bits
93fe6875ecSSam Ravnborgconfig BITS
94fe6875ecSSam Ravnborg	int
95fe6875ecSSam Ravnborg	default 32 if SPARC32
96fe6875ecSSam Ravnborg	default 64 if SPARC64
975e538790SSam Ravnborg
9826b4c912SSam Ravnborgconfig IOMMU_HELPER
9926b4c912SSam Ravnborg	bool
10026b4c912SSam Ravnborg	default y if SPARC64
10126b4c912SSam Ravnborg
10226b4c912SSam Ravnborgconfig STACKTRACE_SUPPORT
10326b4c912SSam Ravnborg	bool
10426b4c912SSam Ravnborg	default y if SPARC64
10526b4c912SSam Ravnborg
10626b4c912SSam Ravnborgconfig LOCKDEP_SUPPORT
10726b4c912SSam Ravnborg	bool
10826b4c912SSam Ravnborg	default y if SPARC64
10926b4c912SSam Ravnborg
1106a5726ddSDavid S. Millerconfig HAVE_LATENCYTOP_SUPPORT
1116a5726ddSDavid S. Miller	bool
1126a5726ddSDavid S. Miller	default y if SPARC64
1136a5726ddSDavid S. Miller
11426b4c912SSam Ravnborgconfig AUDIT_ARCH
11526b4c912SSam Ravnborg	bool
1167e7e93a2SDavid S. Miller	default y
11726b4c912SSam Ravnborg
11826b4c912SSam Ravnborgconfig HAVE_SETUP_PER_CPU_AREA
11926b4c912SSam Ravnborg	def_bool y if SPARC64
12026b4c912SSam Ravnborg
121bcb2107fSTejun Heoconfig NEED_PER_CPU_EMBED_FIRST_CHUNK
1224fd78a5fSDavid S. Miller	def_bool y if SPARC64
1234fd78a5fSDavid S. Miller
124a70c6913STejun Heoconfig NEED_PER_CPU_PAGE_FIRST_CHUNK
125a70c6913STejun Heo	def_bool y if SPARC64
126a70c6913STejun Heo
1271da177e4SLinus Torvaldsconfig MMU
1281da177e4SLinus Torvalds	bool
1291da177e4SLinus Torvalds	default y
1301da177e4SLinus Torvalds
1311da177e4SLinus Torvaldsconfig HIGHMEM
1321da177e4SLinus Torvalds	bool
13326b4c912SSam Ravnborg	default y if SPARC32
1341da177e4SLinus Torvalds
1355ac6da66SChristoph Lameterconfig ZONE_DMA
1365ac6da66SChristoph Lameter	bool
13726b4c912SSam Ravnborg	default y if SPARC32
1385ac6da66SChristoph Lameter
139d15b51beSFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
140d15b51beSFUJITA Tomonori	def_bool y
141d15b51beSFUJITA Tomonori
14218e98307SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
14318e98307SFUJITA Tomonori	def_bool y
14418e98307SFUJITA Tomonori
1451da177e4SLinus Torvaldsconfig GENERIC_ISA_DMA
1461da177e4SLinus Torvalds	bool
14726b4c912SSam Ravnborg	default y if SPARC32
1481da177e4SLinus Torvalds
14915df0f33SDavid S. Millerconfig GENERIC_GPIO
15015df0f33SDavid S. Miller	bool
15115df0f33SDavid S. Miller	help
15215df0f33SDavid S. Miller	  Generic GPIO API support
15315df0f33SDavid S. Miller
1540785b9dcSStephen Rothwellconfig ARCH_NO_VIRT_TO_BUS
1550785b9dcSStephen Rothwell	def_bool y
1560785b9dcSStephen Rothwell
1576a11f75bSAkinobu Mitaconfig ARCH_SUPPORTS_DEBUG_PAGEALLOC
1586a11f75bSAkinobu Mita	def_bool y if SPARC64
1596a11f75bSAkinobu Mita
1601da177e4SLinus Torvaldssource "init/Kconfig"
1611da177e4SLinus Torvalds
162dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
163dc52ddc0SMatt Helsley
16426b4c912SSam Ravnborgmenu "Processor type and features"
1651da177e4SLinus Torvalds
1661da177e4SLinus Torvaldsconfig SMP
1676b7679ddSDavid S. Miller	bool "Symmetric multi-processing support"
1681da177e4SLinus Torvalds	---help---
1691da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
1701da177e4SLinus Torvalds	  a system with only one CPU, say N. If you have a system with more
1711da177e4SLinus Torvalds	  than one CPU, say Y.
1721da177e4SLinus Torvalds
1731da177e4SLinus Torvalds	  If you say N here, the kernel will run on single and multiprocessor
1741da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
1751da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
1761da177e4SLinus Torvalds	  singleprocessor machines. On a singleprocessor machine, the kernel
1771da177e4SLinus Torvalds	  will run faster if you say N here.
1781da177e4SLinus Torvalds
1791da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
1801da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
1811da177e4SLinus Torvalds	  Management" code will be disabled if you say Y here.
1821da177e4SLinus Torvalds
18303502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
18403502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
1851da177e4SLinus Torvalds
1861da177e4SLinus Torvalds	  If you don't know what to do here, say N.
1871da177e4SLinus Torvalds
1881da177e4SLinus Torvaldsconfig NR_CPUS
18926b4c912SSam Ravnborg	int "Maximum number of CPUs"
1901da177e4SLinus Torvalds	depends on SMP
19126b4c912SSam Ravnborg	range 2 32 if SPARC32
19226b4c912SSam Ravnborg	range 2 1024 if SPARC64
19326b4c912SSam Ravnborg	default 32 if SPARC32
19426b4c912SSam Ravnborg	default 64 if SPARC64
1951da177e4SLinus Torvalds
19626b4c912SSam Ravnborgsource kernel/Kconfig.hz
19726b4c912SSam Ravnborg
19826b4c912SSam Ravnborgconfig RWSEM_GENERIC_SPINLOCK
19926b4c912SSam Ravnborg	bool
20026b4c912SSam Ravnborg	default y if SPARC32
20126b4c912SSam Ravnborg
20226b4c912SSam Ravnborgconfig RWSEM_XCHGADD_ALGORITHM
20326b4c912SSam Ravnborg	bool
20426b4c912SSam Ravnborg	default y if SPARC64
20526b4c912SSam Ravnborg
20626b4c912SSam Ravnborgconfig GENERIC_HWEIGHT
20726b4c912SSam Ravnborg	bool
20826b4c912SSam Ravnborg	default y if !ULTRA_HAS_POPULATION_COUNT
20926b4c912SSam Ravnborg
21026b4c912SSam Ravnborgconfig GENERIC_CALIBRATE_DELAY
21126b4c912SSam Ravnborg	bool
21226b4c912SSam Ravnborg	default y
21326b4c912SSam Ravnborg
21426b4c912SSam Ravnborgconfig ARCH_MAY_HAVE_PC_FDC
21526b4c912SSam Ravnborg	bool
21626b4c912SSam Ravnborg	default y
21726b4c912SSam Ravnborg
21826b4c912SSam Ravnborgconfig EMULATED_CMPXCHG
21926b4c912SSam Ravnborg	bool
22026b4c912SSam Ravnborg	default y if SPARC32
22126b4c912SSam Ravnborg	help
22226b4c912SSam Ravnborg	  Sparc32 does not have a CAS instruction like sparc64. cmpxchg()
22326b4c912SSam Ravnborg	  is emulated, and therefore it is not completely atomic.
22426b4c912SSam Ravnborg
225d670bd4fSSam Ravnborg# Makefile helpers
226d670bd4fSSam Ravnborgconfig SPARC32_SMP
227d670bd4fSSam Ravnborg	bool
228d670bd4fSSam Ravnborg	default y
229d670bd4fSSam Ravnborg	depends on SPARC32 && SMP
230d670bd4fSSam Ravnborg
231d670bd4fSSam Ravnborgconfig SPARC64_SMP
232d670bd4fSSam Ravnborg	bool
233d670bd4fSSam Ravnborg	default y
234d670bd4fSSam Ravnborg	depends on SPARC64 && SMP
235d670bd4fSSam Ravnborg
236c57ec52fSDavid S. Millerconfig EARLYFB
237c57ec52fSDavid S. Miller	bool "Support for early boot text console"
238c57ec52fSDavid S. Miller	default y
239c57ec52fSDavid S. Miller	depends on SPARC64
240c57ec52fSDavid S. Miller	help
241c57ec52fSDavid S. Miller	  Say Y here to enable a faster early framebuffer boot console.
242c57ec52fSDavid S. Miller
24326b4c912SSam Ravnborgconfig SECCOMP
24426b4c912SSam Ravnborg	bool "Enable seccomp to safely compute untrusted bytecode"
24526b4c912SSam Ravnborg	depends on SPARC64 && PROC_FS
24626b4c912SSam Ravnborg	default y
24726b4c912SSam Ravnborg	help
24826b4c912SSam Ravnborg	  This kernel feature is useful for number crunching applications
24926b4c912SSam Ravnborg	  that may need to compute untrusted bytecode during their
25026b4c912SSam Ravnborg	  execution. By using pipes or other transports made available to
25126b4c912SSam Ravnborg	  the process as file descriptors supporting the read/write
25226b4c912SSam Ravnborg	  syscalls, it's possible to isolate those applications in
25326b4c912SSam Ravnborg	  their own address space using seccomp. Once seccomp is
25426b4c912SSam Ravnborg	  enabled via /proc/<pid>/seccomp, it cannot be disabled
25526b4c912SSam Ravnborg	  and the task is only allowed to execute a few safe syscalls
25626b4c912SSam Ravnborg	  defined by each seccomp mode.
25726b4c912SSam Ravnborg
25826b4c912SSam Ravnborg	  If unsure, say Y. Only embedded should say N here.
25926b4c912SSam Ravnborg
26026b4c912SSam Ravnborgconfig HOTPLUG_CPU
26126b4c912SSam Ravnborg	bool "Support for hot-pluggable CPUs"
26226b4c912SSam Ravnborg	depends on SPARC64 && SMP
26326b4c912SSam Ravnborg	select HOTPLUG
26426b4c912SSam Ravnborg	help
26526b4c912SSam Ravnborg	  Say Y here to experiment with turning CPUs off and on.  CPUs
26626b4c912SSam Ravnborg	  can be controlled through /sys/devices/system/cpu/cpu#.
26726b4c912SSam Ravnborg	  Say N if you want to disable CPU hotplug.
26826b4c912SSam Ravnborg
26926b4c912SSam Ravnborgif SPARC64
27026b4c912SSam Ravnborgsource "drivers/cpufreq/Kconfig"
27126b4c912SSam Ravnborg
27226b4c912SSam Ravnborgconfig US3_FREQ
27326b4c912SSam Ravnborg	tristate "UltraSPARC-III CPU Frequency driver"
27426b4c912SSam Ravnborg	depends on CPU_FREQ
27526b4c912SSam Ravnborg	select CPU_FREQ_TABLE
27626b4c912SSam Ravnborg	help
27726b4c912SSam Ravnborg	  This adds the CPUFreq driver for UltraSPARC-III processors.
27826b4c912SSam Ravnborg
27926b4c912SSam Ravnborg	  For details, take a look at <file:Documentation/cpu-freq>.
28026b4c912SSam Ravnborg
28126b4c912SSam Ravnborg	  If in doubt, say N.
28226b4c912SSam Ravnborg
28326b4c912SSam Ravnborgconfig US2E_FREQ
28426b4c912SSam Ravnborg	tristate "UltraSPARC-IIe CPU Frequency driver"
28526b4c912SSam Ravnborg	depends on CPU_FREQ
28626b4c912SSam Ravnborg	select CPU_FREQ_TABLE
28726b4c912SSam Ravnborg	help
28826b4c912SSam Ravnborg	  This adds the CPUFreq driver for UltraSPARC-IIe processors.
28926b4c912SSam Ravnborg
29026b4c912SSam Ravnborg	  For details, take a look at <file:Documentation/cpu-freq>.
29126b4c912SSam Ravnborg
29226b4c912SSam Ravnborg	  If in doubt, say N.
29326b4c912SSam Ravnborg
29426b4c912SSam Ravnborgendif
29526b4c912SSam Ravnborg
29626b4c912SSam Ravnborgconfig US3_MC
29726b4c912SSam Ravnborg	tristate "UltraSPARC-III Memory Controller driver"
29826b4c912SSam Ravnborg	depends on SPARC64
29926b4c912SSam Ravnborg	default y
30026b4c912SSam Ravnborg	help
30126b4c912SSam Ravnborg	  This adds a driver for the UltraSPARC-III memory controller.
30226b4c912SSam Ravnborg	  Loading this driver allows exact mnemonic strings to be
30326b4c912SSam Ravnborg	  printed in the event of a memory error, so that the faulty DIMM
30426b4c912SSam Ravnborg	  on the motherboard can be matched to the error.
30526b4c912SSam Ravnborg
30626b4c912SSam Ravnborg	  If in doubt, say Y, as this information can be very useful.
3071da177e4SLinus Torvalds
3081da177e4SLinus Torvalds# Global things across all Sun machines.
30926b4c912SSam Ravnborgconfig GENERIC_LOCKBREAK
31026b4c912SSam Ravnborg	bool
31126b4c912SSam Ravnborg	default y
31226b4c912SSam Ravnborg	depends on SPARC64 && SMP && PREEMPT
31326b4c912SSam Ravnborg
31426b4c912SSam Ravnborgconfig NUMA
31526b4c912SSam Ravnborg	bool "NUMA support"
31626b4c912SSam Ravnborg	depends on SPARC64 && SMP
31726b4c912SSam Ravnborg
31826b4c912SSam Ravnborgconfig NODES_SHIFT
31926b4c912SSam Ravnborg	int
32026b4c912SSam Ravnborg	default "4"
32126b4c912SSam Ravnborg	depends on NEED_MULTIPLE_NODES
32226b4c912SSam Ravnborg
32326b4c912SSam Ravnborg# Some NUMA nodes have memory ranges that span
32426b4c912SSam Ravnborg# other nodes.  Even though a pfn is valid and
32526b4c912SSam Ravnborg# between a node's start and end pfns, it may not
32626b4c912SSam Ravnborg# reside on that node.  See memmap_init_zone()
32726b4c912SSam Ravnborg# for details.
32826b4c912SSam Ravnborgconfig NODES_SPAN_OTHER_NODES
32926b4c912SSam Ravnborg	def_bool y
33026b4c912SSam Ravnborg	depends on NEED_MULTIPLE_NODES
33126b4c912SSam Ravnborg
33226b4c912SSam Ravnborgconfig ARCH_SELECT_MEMORY_MODEL
33326b4c912SSam Ravnborg	def_bool y if SPARC64
33426b4c912SSam Ravnborg
33526b4c912SSam Ravnborgconfig ARCH_SPARSEMEM_ENABLE
33626b4c912SSam Ravnborg	def_bool y if SPARC64
33726b4c912SSam Ravnborg	select SPARSEMEM_VMEMMAP_ENABLE
33826b4c912SSam Ravnborg
33926b4c912SSam Ravnborgconfig ARCH_SPARSEMEM_DEFAULT
34026b4c912SSam Ravnborg	def_bool y if SPARC64
34126b4c912SSam Ravnborg
34226b4c912SSam Ravnborgsource "mm/Kconfig"
34326b4c912SSam Ravnborg
34426b4c912SSam Ravnborgconfig SCHED_SMT
34526b4c912SSam Ravnborg	bool "SMT (Hyperthreading) scheduler support"
34626b4c912SSam Ravnborg	depends on SPARC64 && SMP
34726b4c912SSam Ravnborg	default y
34826b4c912SSam Ravnborg	help
34926b4c912SSam Ravnborg	  SMT scheduler support improves the CPU scheduler's decision making
35026b4c912SSam Ravnborg	  when dealing with SPARC cpus at a cost of slightly increased overhead
35126b4c912SSam Ravnborg	  in some places. If unsure say N here.
35226b4c912SSam Ravnborg
35326b4c912SSam Ravnborgconfig SCHED_MC
35426b4c912SSam Ravnborg	bool "Multi-core scheduler support"
35526b4c912SSam Ravnborg	depends on SPARC64 && SMP
35626b4c912SSam Ravnborg	default y
35726b4c912SSam Ravnborg	help
35826b4c912SSam Ravnborg	  Multi-core scheduler support improves the CPU scheduler's decision
35926b4c912SSam Ravnborg	  making when dealing with multi-core CPU chips at a cost of slightly
36026b4c912SSam Ravnborg	  increased overhead in some places. If unsure say N here.
36126b4c912SSam Ravnborg
36226b4c912SSam Ravnborgsource "kernel/Kconfig.preempt"
36326b4c912SSam Ravnborg
36426b4c912SSam Ravnborgconfig CMDLINE_BOOL
36526b4c912SSam Ravnborg	bool "Default bootloader kernel arguments"
36626b4c912SSam Ravnborg	depends on SPARC64
36726b4c912SSam Ravnborg
36826b4c912SSam Ravnborgconfig CMDLINE
36926b4c912SSam Ravnborg	string "Initial kernel command string"
37026b4c912SSam Ravnborg	depends on CMDLINE_BOOL
37126b4c912SSam Ravnborg	default "console=ttyS0,9600 root=/dev/sda1"
37226b4c912SSam Ravnborg	help
37326b4c912SSam Ravnborg	  Say Y here if you want to be able to pass default arguments to
37426b4c912SSam Ravnborg	  the kernel. This will be overridden by the bootloader, if you
37526b4c912SSam Ravnborg	  use one (such as SILO). This is most useful if you want to boot
37626b4c912SSam Ravnborg	  a kernel from TFTP, and want default options to be available
37726b4c912SSam Ravnborg	  with having them passed on the command line.
37826b4c912SSam Ravnborg
37926b4c912SSam Ravnborg	  NOTE: This option WILL override the PROM bootargs setting!
38026b4c912SSam Ravnborg
38126b4c912SSam Ravnborgconfig SUN_PM
38226b4c912SSam Ravnborg	bool
38326b4c912SSam Ravnborg	default y if SPARC32
38426b4c912SSam Ravnborg	help
38526b4c912SSam Ravnborg	  Enable power management and CPU standby features on supported
38626b4c912SSam Ravnborg	  SPARC platforms.
38726b4c912SSam Ravnborg
38826b4c912SSam Ravnborgconfig SPARC_LED
38926b4c912SSam Ravnborg	tristate "Sun4m LED driver"
39026b4c912SSam Ravnborg	depends on SPARC32
39126b4c912SSam Ravnborg	help
39226b4c912SSam Ravnborg	  This driver toggles the front-panel LED on sun4m systems
39326b4c912SSam Ravnborg	  in a user-specifiable manner.  Its state can be probed
39426b4c912SSam Ravnborg	  by reading /proc/led and its blinking mode can be changed
39526b4c912SSam Ravnborg	  via writes to /proc/led
39626b4c912SSam Ravnborg
3971da177e4SLinus Torvaldsconfig SERIAL_CONSOLE
3981da177e4SLinus Torvalds	bool
39926b4c912SSam Ravnborg	depends on SPARC32
4001da177e4SLinus Torvalds	default y
4011da177e4SLinus Torvalds	---help---
4021da177e4SLinus Torvalds	  If you say Y here, it will be possible to use a serial port as the
4031da177e4SLinus Torvalds	  system console (the system console is the device which receives all
4041da177e4SLinus Torvalds	  kernel messages and warnings and which allows logins in single user
4051da177e4SLinus Torvalds	  mode). This could be useful if some terminal or printer is connected
4061da177e4SLinus Torvalds	  to that serial port.
4071da177e4SLinus Torvalds
4081da177e4SLinus Torvalds	  Even if you say Y here, the currently visible virtual console
4091da177e4SLinus Torvalds	  (/dev/tty0) will still be used as the system console by default, but
4101da177e4SLinus Torvalds	  you can alter that using a kernel command line option such as
4111da177e4SLinus Torvalds	  "console=ttyS1". (Try "man bootparam" or see the documentation of
4121da177e4SLinus Torvalds	  your boot loader (silo) about how to pass options to the kernel at
4131da177e4SLinus Torvalds	  boot time.)
4141da177e4SLinus Torvalds
4151da177e4SLinus Torvalds	  If you don't have a graphics card installed and you say Y here, the
4161da177e4SLinus Torvalds	  kernel will automatically use the first serial line, /dev/ttyS0, as
4171da177e4SLinus Torvalds	  system console.
4181da177e4SLinus Torvalds
4191da177e4SLinus Torvalds	  If unsure, say N.
4201da177e4SLinus Torvalds
4215213a780SKonrad Eiseleconfig SPARC_LEON
4225213a780SKonrad Eisele	bool "Sparc Leon processor family"
4235213a780SKonrad Eisele	depends on SPARC32
4245213a780SKonrad Eisele	---help---
4255213a780SKonrad Eisele	  If you say Y here if you are running on a SPARC-LEON processor.
4265213a780SKonrad Eisele	  The LEON processor is a synthesizable VHDL model of the
4275213a780SKonrad Eisele	  SPARC-v8 standard. LEON is  part of the GRLIB collection of
4285213a780SKonrad Eisele	  IP cores that are distributed under GPL. GRLIB can be downloaded
4295213a780SKonrad Eisele	  from www.gaisler.com. You can download a sparc-linux cross-compilation
4305213a780SKonrad Eisele	  toolchain at www.gaisler.com.
4315213a780SKonrad Eisele
432684151a7SDaniel Hellstromif SPARC_LEON
433684151a7SDaniel Hellstrommenu "U-Boot options"
434684151a7SDaniel Hellstrom
435684151a7SDaniel Hellstromconfig UBOOT_LOAD_ADDR
436684151a7SDaniel Hellstrom	hex "uImage Load Address"
437684151a7SDaniel Hellstrom	default 0x40004000
438684151a7SDaniel Hellstrom	---help---
439684151a7SDaniel Hellstrom	 U-Boot kernel load address, the address in physical address space
440684151a7SDaniel Hellstrom	 where u-boot will place the Linux kernel before booting it.
441684151a7SDaniel Hellstrom	 This address is normally the base address of main memory + 0x4000.
442684151a7SDaniel Hellstrom
443684151a7SDaniel Hellstromconfig UBOOT_FLASH_ADDR
444684151a7SDaniel Hellstrom	hex "uImage.o Load Address"
445684151a7SDaniel Hellstrom	default 0x00080000
446684151a7SDaniel Hellstrom	---help---
447684151a7SDaniel Hellstrom	 Optional setting only affecting the uImage.o ELF-image used to
448684151a7SDaniel Hellstrom	 download the uImage file to the target using a ELF-loader other than
449684151a7SDaniel Hellstrom	 U-Boot. It may for example be used to download an uImage to FLASH with
450684151a7SDaniel Hellstrom	 the GRMON utility before even starting u-boot.
451684151a7SDaniel Hellstrom
452684151a7SDaniel Hellstromconfig UBOOT_ENTRY_ADDR
453684151a7SDaniel Hellstrom	hex "uImage Entry Address"
454684151a7SDaniel Hellstrom	default 0xf0004000
455684151a7SDaniel Hellstrom	---help---
456684151a7SDaniel Hellstrom	 Do not change this unless you know what you're doing. This is
457684151a7SDaniel Hellstrom	 hardcoded by the SPARC32 and LEON port.
458684151a7SDaniel Hellstrom
459684151a7SDaniel Hellstrom	 This is the virtual address u-boot jumps to when booting the Linux
460684151a7SDaniel Hellstrom	 Kernel.
461684151a7SDaniel Hellstrom
462684151a7SDaniel Hellstromendmenu
463684151a7SDaniel Hellstromendif
464684151a7SDaniel Hellstrom
4654b27e0e1SSam Ravnborgendmenu
4664b27e0e1SSam Ravnborg
4674b27e0e1SSam Ravnborgmenu "Bus options (PCI etc.)"
4684b27e0e1SSam Ravnborgconfig SBUS
4694b27e0e1SSam Ravnborg	bool
4704b27e0e1SSam Ravnborg	default y
4714b27e0e1SSam Ravnborg
4724b27e0e1SSam Ravnborgconfig SBUSCHAR
4734b27e0e1SSam Ravnborg	bool
4744b27e0e1SSam Ravnborg	default y
4754b27e0e1SSam Ravnborg
47626b4c912SSam Ravnborgconfig SUN_LDOMS
47726b4c912SSam Ravnborg	bool "Sun Logical Domains support"
47826b4c912SSam Ravnborg	depends on SPARC64
47926b4c912SSam Ravnborg	help
48026b4c912SSam Ravnborg	  Say Y here is you want to support virtual devices via
48126b4c912SSam Ravnborg	  Logical Domains.
48226b4c912SSam Ravnborg
4831da177e4SLinus Torvaldsconfig PCI
4841da177e4SLinus Torvalds	bool "Support for PCI and PS/2 keyboard/mouse"
4851da177e4SLinus Torvalds	help
48626b4c912SSam Ravnborg	  Find out whether your system includes a PCI bus. PCI is the name of
48726b4c912SSam Ravnborg	  a bus system, i.e. the way the CPU talks to the other stuff inside
48826b4c912SSam Ravnborg	  your box.  If you say Y here, the kernel will include drivers and
48926b4c912SSam Ravnborg	  infrastructure code to support PCI bus devices.
49026b4c912SSam Ravnborg
4911da177e4SLinus Torvalds	  CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
4921da177e4SLinus Torvalds	  CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
4931da177e4SLinus Torvalds	  All of these platforms are extremely obscure, so say N if unsure.
4941da177e4SLinus Torvalds
49526b4c912SSam Ravnborgconfig PCI_DOMAINS
49626b4c912SSam Ravnborg	def_bool PCI if SPARC64
49726b4c912SSam Ravnborg
49836e23590SMatthew Wilcoxconfig PCI_SYSCALL
49936e23590SMatthew Wilcox	def_bool PCI
50036e23590SMatthew Wilcox
501cfe3af5dSDaniel Hellstromconfig PCIC_PCI
502cfe3af5dSDaniel Hellstrom	bool
5038c47f8d0SDavid S. Miller	depends on PCI && SPARC32 && !SPARC_LEON
504cfe3af5dSDaniel Hellstrom	default y
505cfe3af5dSDaniel Hellstrom
50626893c13SDaniel Hellstromconfig LEON_PCI
50726893c13SDaniel Hellstrom	bool
50826893c13SDaniel Hellstrom	depends on PCI && SPARC_LEON
50926893c13SDaniel Hellstrom	default y
51026893c13SDaniel Hellstrom
5115d07b786SDaniel Hellstromconfig GRPCI2
5125d07b786SDaniel Hellstrom	bool "GRPCI2 Host Bridge Support"
5135d07b786SDaniel Hellstrom	depends on LEON_PCI
5145d07b786SDaniel Hellstrom	default y
5155d07b786SDaniel Hellstrom	help
5165d07b786SDaniel Hellstrom	  Say Y here to include the GRPCI2 Host Bridge Driver.
5175d07b786SDaniel Hellstrom
5181da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
5191da177e4SLinus Torvalds
520c6afec5eSDavid S. Millersource "drivers/pcmcia/Kconfig"
521c6afec5eSDavid S. Miller
5221da177e4SLinus Torvaldsconfig SUN_OPENPROMFS
5231da177e4SLinus Torvalds	tristate "Openprom tree appears in /proc/openprom"
5241da177e4SLinus Torvalds	help
5251da177e4SLinus Torvalds	  If you say Y, the OpenPROM device tree will be available as a
5261da177e4SLinus Torvalds	  virtual file system, which you can mount to /proc/openprom by "mount
5271da177e4SLinus Torvalds	  -t openpromfs none /proc/openprom".
5281da177e4SLinus Torvalds
5291da177e4SLinus Torvalds	  To compile the /proc/openprom support as a module, choose M here: the
5301da177e4SLinus Torvalds	  module will be called openpromfs.
5311da177e4SLinus Torvalds
5321da177e4SLinus Torvalds	  Only choose N if you know in advance that you will not need to modify
5331da177e4SLinus Torvalds	  OpenPROM settings on the running system.
5341da177e4SLinus Torvalds
5351cb85e80SPaul Bolle# Makefile helper
536d670bd4fSSam Ravnborgconfig SPARC64_PCI
537d670bd4fSSam Ravnborg	bool
538d670bd4fSSam Ravnborg	default y
539d670bd4fSSam Ravnborg	depends on SPARC64 && PCI
54030aaa808SWilliam Lee Irwin III
54130aaa808SWilliam Lee Irwin IIIendmenu
54230aaa808SWilliam Lee Irwin III
54312e271a8SSam Ravnborgmenu "Executable file formats"
54412e271a8SSam Ravnborg
54512e271a8SSam Ravnborgsource "fs/Kconfig.binfmt"
54612e271a8SSam Ravnborg
54726b4c912SSam Ravnborgconfig COMPAT
54826b4c912SSam Ravnborg	bool
54926b4c912SSam Ravnborg	depends on SPARC64
55026b4c912SSam Ravnborg	default y
55126b4c912SSam Ravnborg	select COMPAT_BINFMT_ELF
552af1839ebSCatalin Marinas	select HAVE_UID16
55348b25c43SChris Metcalf	select ARCH_WANT_OLD_COMPAT_IPC
554a274bd49SAl Viro	select COMPAT_OLD_SIGACTION
55526b4c912SSam Ravnborg
55626b4c912SSam Ravnborgconfig SYSVIPC_COMPAT
55726b4c912SSam Ravnborg	bool
55826b4c912SSam Ravnborg	depends on COMPAT && SYSVIPC
55926b4c912SSam Ravnborg	default y
56026b4c912SSam Ravnborg
56145de6767SDavid Howellsconfig KEYS_COMPAT
56245de6767SDavid Howells	def_bool y if COMPAT && KEYS
56345de6767SDavid Howells
56412e271a8SSam Ravnborgendmenu
56512e271a8SSam Ravnborg
566d5950b43SSam Ravnborgsource "net/Kconfig"
567d5950b43SSam Ravnborg
56830aaa808SWilliam Lee Irwin IIIsource "drivers/Kconfig"
5691da177e4SLinus Torvalds
5701da177e4SLinus Torvaldssource "drivers/sbus/char/Kconfig"
5711da177e4SLinus Torvalds
5721da177e4SLinus Torvaldssource "fs/Kconfig"
5731da177e4SLinus Torvalds
5741da177e4SLinus Torvaldssource "arch/sparc/Kconfig.debug"
5751da177e4SLinus Torvalds
5761da177e4SLinus Torvaldssource "security/Kconfig"
5771da177e4SLinus Torvalds
5781da177e4SLinus Torvaldssource "crypto/Kconfig"
5791da177e4SLinus Torvalds
5801da177e4SLinus Torvaldssource "lib/Kconfig"
581