xref: /linux/arch/sparc/Kconfig (revision c79a13734d104b5b147d7cb0870276ccdd660dae)
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
15ff649a6fSMark Salter	select ARCH_MIGHT_HAVE_PC_PARPORT if SPARC64 && PCI
16a5252c28SMark Salter	select ARCH_MIGHT_HAVE_PC_SERIO
177b14c647SStephen Rothwell	select OF
183cfc535cSAndres Salomon	select OF_PROMTREE
1935da3e39SSam Ravnborg	select HAVE_IDE
2035da3e39SSam Ravnborg	select HAVE_OPROFILE
2126b4c912SSam Ravnborg	select HAVE_ARCH_KGDB if !SMP || SPARC64
2235da3e39SSam Ravnborg	select HAVE_ARCH_TRACEHOOK
235f56a5dfSJiri Slaby	select HAVE_EXIT_THREAD
247ac57a89SCatalin Marinas	select SYSCTL_EXCEPTION_TRACE
2535da3e39SSam Ravnborg	select RTC_CLASS
2635da3e39SSam Ravnborg	select RTC_DRV_M48T59
27460ea8d7SXunlei Pang	select RTC_SYSTOHC
28451d7400SFUJITA Tomonori	select HAVE_DMA_API_DEBUG
294f6500ffSPaul Gortmaker	select HAVE_ARCH_JUMP_LABEL if SPARC64
306baa9b20SSam Ravnborg	select GENERIC_IRQ_SHOW
31c1d7e01dSWill Deacon	select ARCH_WANT_IPC_PARSE_VERSION
32a21a2fd4SMichael S. Tsirkin	select GENERIC_PCI_IOMAP
33d314d74cSCong Wang	select HAVE_NMI_WATCHDOG if SPARC64
347a12b503SDavid S. Miller	select HAVE_CBPF_JIT if SPARC32
357a12b503SDavid S. Miller	select HAVE_EBPF_JIT if SPARC64
369b2a60c4SCatalin Marinas	select HAVE_DEBUG_BUGVERBOSE
37f0a2bc7eSThomas Gleixner	select GENERIC_SMP_IDLE_THREAD
38c7523a7cSLinus Torvalds	select GENERIC_CLOCKEVENTS
392922585bSDavid S. Miller	select GENERIC_STRNCPY_FROM_USER
402c66f623SDavid Miller	select GENERIC_STRNLEN_USER
41786d35d4SDavid Howells	select MODULES_USE_ELF_RELA
42eaca6eaeSAl Viro	select ODD_RT_SIGACTION
4352ad6b3fSAl Viro	select OLD_SIGSUSPEND
44308c09f1SLaura Abbott	select ARCH_HAS_SG_CHAIN
45fff7fb0bSZhaoxiu Zeng	select CPU_NO_EFFICIENT_FFS
46395102dbSDaniel Jordan	select LOCKDEP_SMALL if LOCKDEP
471a8b6d76SMao Wenan	select ARCH_WANT_RELAX_ORDER
4835da3e39SSam Ravnborg
4935da3e39SSam Ravnborgconfig SPARC32
50761b6026SBastian Blank	def_bool !64BIT
51aea1181bSSam Ravnborg	select GENERIC_ATOMIC64
52c6df4b17SDavid Miller	select CLZ_TAB
53af1839ebSCatalin Marinas	select HAVE_UID16
54a274bd49SAl Viro	select OLD_SIGACTION
5535da3e39SSam Ravnborg
5626b4c912SSam Ravnborgconfig SPARC64
57761b6026SBastian Blank	def_bool 64BIT
5826b4c912SSam Ravnborg	select HAVE_FUNCTION_TRACER
599960e9e8SDavid S. Miller	select HAVE_FUNCTION_GRAPH_TRACER
6026b4c912SSam Ravnborg	select HAVE_KRETPROBES
6126b4c912SSam Ravnborg	select HAVE_KPROBES
624a0100f7SDavid S. Miller	select HAVE_RCU_TABLE_FREE if SMP
6395f72d1eSYinghai Lu	select HAVE_MEMBLOCK
642a4814dfSTejun Heo	select HAVE_MEMBLOCK_NODE_MAP
65b9156ebbSDavid S. Miller	select HAVE_ARCH_TRANSPARENT_HUGEPAGE
669be12f9bSDavid S. Miller	select HAVE_DYNAMIC_FTRACE
679be12f9bSDavid S. Miller	select HAVE_FTRACE_MCOUNT_RECORD
68c658ad1bSDavid S. Miller	select HAVE_SYSCALL_TRACEPOINTS
69812cb83aSKirill Tkhai	select HAVE_CONTEXT_TRACKING
70b69ec42bSCatalin Marinas	select HAVE_DEBUG_KMEMLEAK
71ee6a9333Sbob picco	select SPARSE_IRQ
7226b4c912SSam Ravnborg	select RTC_DRV_CMOS
7326b4c912SSam Ravnborg	select RTC_DRV_BQ4802
7426b4c912SSam Ravnborg	select RTC_DRV_SUN4V
7526b4c912SSam Ravnborg	select RTC_DRV_STARFIRE
76cdd6c482SIngo Molnar	select HAVE_PERF_EVENTS
77906010b2SPeter Zijlstra	select PERF_USE_VMALLOC
78fcd8d4f4SThomas Gleixner	select IRQ_PREFLOW_FASTEOI
79df013ffbSHuang Ying	select ARCH_HAVE_NMI_SAFE_CMPXCHG
80178a2960SDavid S. Miller	select HAVE_C_RECORDMCOUNT
81625d693eSDavid S. Miller	select NO_BOOTMEM
827a017721SAKASHI Takahiro	select HAVE_ARCH_AUDITSYSCALL
834badad35SPeter Zijlstra	select ARCH_SUPPORTS_ATOMIC_RMW
8442a0bb3fSPetr Mladek	select HAVE_NMI
85b7c02b73SDavid S. Miller	select HAVE_REGS_AND_STACK_ACCESS_API
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
923c08158eSDavid S. Millerconfig ARCH_PROC_KCORE_TEXT
933c08158eSDavid S. Miller	def_bool y
943c08158eSDavid S. Miller
95c88c545bSDave Kleikampconfig ARCH_ATU
96c88c545bSDave Kleikamp	bool
97c88c545bSDave Kleikamp	default y if SPARC64
98c88c545bSDave Kleikamp
99d30a6b84STushar Daveconfig ARCH_DMA_ADDR_T_64BIT
100d30a6b84STushar Dave	bool
101d30a6b84STushar Dave	default y if ARCH_ATU
102d30a6b84STushar Dave
10326b4c912SSam Ravnborgconfig IOMMU_HELPER
10426b4c912SSam Ravnborg	bool
10526b4c912SSam Ravnborg	default y if SPARC64
10626b4c912SSam Ravnborg
10726b4c912SSam Ravnborgconfig STACKTRACE_SUPPORT
10826b4c912SSam Ravnborg	bool
10926b4c912SSam Ravnborg	default y if SPARC64
11026b4c912SSam Ravnborg
11126b4c912SSam Ravnborgconfig LOCKDEP_SUPPORT
11226b4c912SSam Ravnborg	bool
11326b4c912SSam Ravnborg	default y if SPARC64
11426b4c912SSam Ravnborg
115bdde6b3cSTkhai Kirillconfig ARCH_HIBERNATION_POSSIBLE
116bdde6b3cSTkhai Kirill	def_bool y if SPARC64
117bdde6b3cSTkhai Kirill
11826b4c912SSam Ravnborgconfig AUDIT_ARCH
11926b4c912SSam Ravnborg	bool
1207e7e93a2SDavid S. Miller	default y
12126b4c912SSam Ravnborg
12226b4c912SSam Ravnborgconfig HAVE_SETUP_PER_CPU_AREA
12326b4c912SSam Ravnborg	def_bool y if SPARC64
12426b4c912SSam Ravnborg
125bcb2107fSTejun Heoconfig NEED_PER_CPU_EMBED_FIRST_CHUNK
1264fd78a5fSDavid S. Miller	def_bool y if SPARC64
1274fd78a5fSDavid S. Miller
128a70c6913STejun Heoconfig NEED_PER_CPU_PAGE_FIRST_CHUNK
129a70c6913STejun Heo	def_bool y if SPARC64
130a70c6913STejun Heo
1311da177e4SLinus Torvaldsconfig MMU
1321da177e4SLinus Torvalds	bool
1331da177e4SLinus Torvalds	default y
1341da177e4SLinus Torvalds
1351da177e4SLinus Torvaldsconfig HIGHMEM
1361da177e4SLinus Torvalds	bool
13726b4c912SSam Ravnborg	default y if SPARC32
1381da177e4SLinus Torvalds
1395ac6da66SChristoph Lameterconfig ZONE_DMA
1405ac6da66SChristoph Lameter	bool
14126b4c912SSam Ravnborg	default y if SPARC32
1425ac6da66SChristoph Lameter
143d15b51beSFUJITA Tomonoriconfig NEED_DMA_MAP_STATE
144d15b51beSFUJITA Tomonori	def_bool y
145d15b51beSFUJITA Tomonori
14618e98307SFUJITA Tomonoriconfig NEED_SG_DMA_LENGTH
14718e98307SFUJITA Tomonori	def_bool y
14818e98307SFUJITA Tomonori
1491da177e4SLinus Torvaldsconfig GENERIC_ISA_DMA
1501da177e4SLinus Torvalds	bool
15126b4c912SSam Ravnborg	default y if SPARC32
1521da177e4SLinus Torvalds
1536a11f75bSAkinobu Mitaconfig ARCH_SUPPORTS_DEBUG_PAGEALLOC
1546a11f75bSAkinobu Mita	def_bool y if SPARC64
1556a11f75bSAkinobu Mita
15681a2936cSKirill A. Shutemovconfig PGTABLE_LEVELS
15781a2936cSKirill A. Shutemov	default 4 if 64BIT
15881a2936cSKirill A. Shutemov	default 3
15981a2936cSKirill A. Shutemov
160e8f4aa60SAllen Paisconfig ARCH_SUPPORTS_UPROBES
161e8f4aa60SAllen Pais	def_bool y if SPARC64
162e8f4aa60SAllen Pais
1631da177e4SLinus Torvaldssource "init/Kconfig"
1641da177e4SLinus Torvalds
165dc52ddc0SMatt Helsleysource "kernel/Kconfig.freezer"
166dc52ddc0SMatt Helsley
16726b4c912SSam Ravnborgmenu "Processor type and features"
1681da177e4SLinus Torvalds
1691da177e4SLinus Torvaldsconfig SMP
1706b7679ddSDavid S. Miller	bool "Symmetric multi-processing support"
1711da177e4SLinus Torvalds	---help---
1721da177e4SLinus Torvalds	  This enables support for systems with more than one CPU. If you have
1731da177e4SLinus Torvalds	  a system with only one CPU, say N. If you have a system with more
1741da177e4SLinus Torvalds	  than one CPU, say Y.
1751da177e4SLinus Torvalds
1764a474157SRobert Graffham	  If you say N here, the kernel will run on uni- and multiprocessor
1771da177e4SLinus Torvalds	  machines, but will use only one CPU of a multiprocessor machine. If
1781da177e4SLinus Torvalds	  you say Y here, the kernel will run on many, but not all,
1794a474157SRobert Graffham	  uniprocessor machines. On a uniprocessor machine, the kernel
1801da177e4SLinus Torvalds	  will run faster if you say N here.
1811da177e4SLinus Torvalds
1821da177e4SLinus Torvalds	  People using multiprocessor machines who say Y here should also say
1831da177e4SLinus Torvalds	  Y to "Enhanced Real Time Clock Support", below. The "Advanced Power
1841da177e4SLinus Torvalds	  Management" code will be disabled if you say Y here.
1851da177e4SLinus Torvalds
18603502faaSAdrian Bunk	  See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
18703502faaSAdrian Bunk	  available at <http://www.tldp.org/docs.html#howto>.
1881da177e4SLinus Torvalds
1891da177e4SLinus Torvalds	  If you don't know what to do here, say N.
1901da177e4SLinus Torvalds
1911da177e4SLinus Torvaldsconfig NR_CPUS
19226b4c912SSam Ravnborg	int "Maximum number of CPUs"
1931da177e4SLinus Torvalds	depends on SMP
19426b4c912SSam Ravnborg	range 2 32 if SPARC32
195*c79a1373SJane Chu	range 2 4096 if SPARC64
19626b4c912SSam Ravnborg	default 32 if SPARC32
197*c79a1373SJane Chu	default 4096 if SPARC64
1981da177e4SLinus Torvalds
19926b4c912SSam Ravnborgsource kernel/Kconfig.hz
20026b4c912SSam Ravnborg
20126b4c912SSam Ravnborgconfig RWSEM_GENERIC_SPINLOCK
20226b4c912SSam Ravnborg	bool
20326b4c912SSam Ravnborg	default y if SPARC32
20426b4c912SSam Ravnborg
20526b4c912SSam Ravnborgconfig RWSEM_XCHGADD_ALGORITHM
20626b4c912SSam Ravnborg	bool
20726b4c912SSam Ravnborg	default y if SPARC64
20826b4c912SSam Ravnborg
20926b4c912SSam Ravnborgconfig GENERIC_HWEIGHT
21026b4c912SSam Ravnborg	bool
211e0b20296SPaul Bolle	default y
21226b4c912SSam Ravnborg
21326b4c912SSam Ravnborgconfig GENERIC_CALIBRATE_DELAY
21426b4c912SSam Ravnborg	bool
21526b4c912SSam Ravnborg	default y
21626b4c912SSam Ravnborg
21726b4c912SSam Ravnborgconfig ARCH_MAY_HAVE_PC_FDC
21826b4c912SSam Ravnborg	bool
21926b4c912SSam Ravnborg	default y
22026b4c912SSam Ravnborg
22126b4c912SSam Ravnborgconfig EMULATED_CMPXCHG
22226b4c912SSam Ravnborg	bool
22326b4c912SSam Ravnborg	default y if SPARC32
22426b4c912SSam Ravnborg	help
22526b4c912SSam Ravnborg	  Sparc32 does not have a CAS instruction like sparc64. cmpxchg()
22626b4c912SSam Ravnborg	  is emulated, and therefore it is not completely atomic.
22726b4c912SSam Ravnborg
228d670bd4fSSam Ravnborg# Makefile helpers
229d670bd4fSSam Ravnborgconfig SPARC32_SMP
230d670bd4fSSam Ravnborg	bool
231d670bd4fSSam Ravnborg	default y
232d670bd4fSSam Ravnborg	depends on SPARC32 && SMP
233d670bd4fSSam Ravnborg
234d670bd4fSSam Ravnborgconfig SPARC64_SMP
235d670bd4fSSam Ravnborg	bool
236d670bd4fSSam Ravnborg	default y
237d670bd4fSSam Ravnborg	depends on SPARC64 && SMP
238d670bd4fSSam Ravnborg
239c57ec52fSDavid S. Millerconfig EARLYFB
240c57ec52fSDavid S. Miller	bool "Support for early boot text console"
241c57ec52fSDavid S. Miller	default y
242c57ec52fSDavid S. Miller	depends on SPARC64
243c57ec52fSDavid S. Miller	help
244c57ec52fSDavid S. Miller	  Say Y here to enable a faster early framebuffer boot console.
245c57ec52fSDavid S. Miller
24626b4c912SSam Ravnborgconfig SECCOMP
24726b4c912SSam Ravnborg	bool "Enable seccomp to safely compute untrusted bytecode"
24826b4c912SSam Ravnborg	depends on SPARC64 && PROC_FS
24926b4c912SSam Ravnborg	default y
25026b4c912SSam Ravnborg	help
25126b4c912SSam Ravnborg	  This kernel feature is useful for number crunching applications
25226b4c912SSam Ravnborg	  that may need to compute untrusted bytecode during their
25326b4c912SSam Ravnborg	  execution. By using pipes or other transports made available to
25426b4c912SSam Ravnborg	  the process as file descriptors supporting the read/write
25526b4c912SSam Ravnborg	  syscalls, it's possible to isolate those applications in
25626b4c912SSam Ravnborg	  their own address space using seccomp. Once seccomp is
25726b4c912SSam Ravnborg	  enabled via /proc/<pid>/seccomp, it cannot be disabled
25826b4c912SSam Ravnborg	  and the task is only allowed to execute a few safe syscalls
25926b4c912SSam Ravnborg	  defined by each seccomp mode.
26026b4c912SSam Ravnborg
26126b4c912SSam Ravnborg	  If unsure, say Y. Only embedded should say N here.
26226b4c912SSam Ravnborg
26326b4c912SSam Ravnborgconfig HOTPLUG_CPU
26426b4c912SSam Ravnborg	bool "Support for hot-pluggable CPUs"
26526b4c912SSam Ravnborg	depends on SPARC64 && SMP
26626b4c912SSam Ravnborg	help
26726b4c912SSam Ravnborg	  Say Y here to experiment with turning CPUs off and on.  CPUs
26826b4c912SSam Ravnborg	  can be controlled through /sys/devices/system/cpu/cpu#.
26926b4c912SSam Ravnborg	  Say N if you want to disable CPU hotplug.
27026b4c912SSam Ravnborg
27126b4c912SSam Ravnborgif SPARC64
27226b4c912SSam Ravnborgsource "drivers/cpufreq/Kconfig"
27326b4c912SSam Ravnborgendif
27426b4c912SSam Ravnborg
27526b4c912SSam Ravnborgconfig US3_MC
27626b4c912SSam Ravnborg	tristate "UltraSPARC-III Memory Controller driver"
27726b4c912SSam Ravnborg	depends on SPARC64
27826b4c912SSam Ravnborg	default y
27926b4c912SSam Ravnborg	help
28026b4c912SSam Ravnborg	  This adds a driver for the UltraSPARC-III memory controller.
28126b4c912SSam Ravnborg	  Loading this driver allows exact mnemonic strings to be
28226b4c912SSam Ravnborg	  printed in the event of a memory error, so that the faulty DIMM
28326b4c912SSam Ravnborg	  on the motherboard can be matched to the error.
28426b4c912SSam Ravnborg
28526b4c912SSam Ravnborg	  If in doubt, say Y, as this information can be very useful.
2861da177e4SLinus Torvalds
2871da177e4SLinus Torvalds# Global things across all Sun machines.
28826b4c912SSam Ravnborgconfig GENERIC_LOCKBREAK
28926b4c912SSam Ravnborg	bool
29026b4c912SSam Ravnborg	default y
29126b4c912SSam Ravnborg	depends on SPARC64 && SMP && PREEMPT
29226b4c912SSam Ravnborg
29326b4c912SSam Ravnborgconfig NUMA
29426b4c912SSam Ravnborg	bool "NUMA support"
29526b4c912SSam Ravnborg	depends on SPARC64 && SMP
29626b4c912SSam Ravnborg
29726b4c912SSam Ravnborgconfig NODES_SHIFT
2987485af89SJane Chu	int "Maximum NUMA Nodes (as a power of 2)"
2997485af89SJane Chu	range 4 5 if SPARC64
3007485af89SJane Chu	default "5"
30126b4c912SSam Ravnborg	depends on NEED_MULTIPLE_NODES
3027485af89SJane Chu	help
3037485af89SJane Chu	  Specify the maximum number of NUMA Nodes available on the target
3047485af89SJane Chu	  system.  Increases memory reserved to accommodate various tables.
30526b4c912SSam Ravnborg
30626b4c912SSam Ravnborg# Some NUMA nodes have memory ranges that span
30726b4c912SSam Ravnborg# other nodes.  Even though a pfn is valid and
30826b4c912SSam Ravnborg# between a node's start and end pfns, it may not
30926b4c912SSam Ravnborg# reside on that node.  See memmap_init_zone()
31026b4c912SSam Ravnborg# for details.
31126b4c912SSam Ravnborgconfig NODES_SPAN_OTHER_NODES
31226b4c912SSam Ravnborg	def_bool y
31326b4c912SSam Ravnborg	depends on NEED_MULTIPLE_NODES
31426b4c912SSam Ravnborg
31526b4c912SSam Ravnborgconfig ARCH_SELECT_MEMORY_MODEL
31626b4c912SSam Ravnborg	def_bool y if SPARC64
31726b4c912SSam Ravnborg
31826b4c912SSam Ravnborgconfig ARCH_SPARSEMEM_ENABLE
31926b4c912SSam Ravnborg	def_bool y if SPARC64
32026b4c912SSam Ravnborg	select SPARSEMEM_VMEMMAP_ENABLE
32126b4c912SSam Ravnborg
32226b4c912SSam Ravnborgconfig ARCH_SPARSEMEM_DEFAULT
32326b4c912SSam Ravnborg	def_bool y if SPARC64
32426b4c912SSam Ravnborg
325c88c545bSDave Kleikampconfig FORCE_MAX_ZONEORDER
326c88c545bSDave Kleikamp	int "Maximum zone order"
327c88c545bSDave Kleikamp	default "13"
328c88c545bSDave Kleikamp	help
329c88c545bSDave Kleikamp	  The kernel memory allocator divides physically contiguous memory
330c88c545bSDave Kleikamp	  blocks into "zones", where each zone is a power of two number of
331c88c545bSDave Kleikamp	  pages.  This option selects the largest power of two that the kernel
332c88c545bSDave Kleikamp	  keeps in the memory allocator.  If you need to allocate very large
333c88c545bSDave Kleikamp	  blocks of physically contiguous memory, then you may need to
334c88c545bSDave Kleikamp	  increase this value.
335c88c545bSDave Kleikamp
336c88c545bSDave Kleikamp	  This config option is actually maximum order plus one. For example,
337c88c545bSDave Kleikamp	  a value of 13 means that the largest free memory block is 2^12 pages.
338c88c545bSDave Kleikamp
33926b4c912SSam Ravnborgsource "mm/Kconfig"
34026b4c912SSam Ravnborg
341bdde6b3cSTkhai Kirillif SPARC64
342bdde6b3cSTkhai Kirillsource "kernel/power/Kconfig"
343bdde6b3cSTkhai Kirillendif
344bdde6b3cSTkhai Kirill
34526b4c912SSam Ravnborgconfig SCHED_SMT
34626b4c912SSam Ravnborg	bool "SMT (Hyperthreading) scheduler support"
34726b4c912SSam Ravnborg	depends on SPARC64 && SMP
34826b4c912SSam Ravnborg	default y
34926b4c912SSam Ravnborg	help
35026b4c912SSam Ravnborg	  SMT scheduler support improves the CPU scheduler's decision making
35126b4c912SSam Ravnborg	  when dealing with SPARC cpus at a cost of slightly increased overhead
35226b4c912SSam Ravnborg	  in some places. If unsure say N here.
35326b4c912SSam Ravnborg
35426b4c912SSam Ravnborgconfig SCHED_MC
35526b4c912SSam Ravnborg	bool "Multi-core scheduler support"
35626b4c912SSam Ravnborg	depends on SPARC64 && SMP
35726b4c912SSam Ravnborg	default y
35826b4c912SSam Ravnborg	help
35926b4c912SSam Ravnborg	  Multi-core scheduler support improves the CPU scheduler's decision
36026b4c912SSam Ravnborg	  making when dealing with multi-core CPU chips at a cost of slightly
36126b4c912SSam Ravnborg	  increased overhead in some places. If unsure say N here.
36226b4c912SSam Ravnborg
36326b4c912SSam Ravnborgsource "kernel/Kconfig.preempt"
36426b4c912SSam Ravnborg
36526b4c912SSam Ravnborgconfig CMDLINE_BOOL
36626b4c912SSam Ravnborg	bool "Default bootloader kernel arguments"
36726b4c912SSam Ravnborg	depends on SPARC64
36826b4c912SSam Ravnborg
36926b4c912SSam Ravnborgconfig CMDLINE
37026b4c912SSam Ravnborg	string "Initial kernel command string"
37126b4c912SSam Ravnborg	depends on CMDLINE_BOOL
37226b4c912SSam Ravnborg	default "console=ttyS0,9600 root=/dev/sda1"
37326b4c912SSam Ravnborg	help
37426b4c912SSam Ravnborg	  Say Y here if you want to be able to pass default arguments to
37526b4c912SSam Ravnborg	  the kernel. This will be overridden by the bootloader, if you
37626b4c912SSam Ravnborg	  use one (such as SILO). This is most useful if you want to boot
37726b4c912SSam Ravnborg	  a kernel from TFTP, and want default options to be available
37826b4c912SSam Ravnborg	  with having them passed on the command line.
37926b4c912SSam Ravnborg
38026b4c912SSam Ravnborg	  NOTE: This option WILL override the PROM bootargs setting!
38126b4c912SSam Ravnborg
38226b4c912SSam Ravnborgconfig SUN_PM
38326b4c912SSam Ravnborg	bool
38426b4c912SSam Ravnborg	default y if SPARC32
38526b4c912SSam Ravnborg	help
38626b4c912SSam Ravnborg	  Enable power management and CPU standby features on supported
38726b4c912SSam Ravnborg	  SPARC platforms.
38826b4c912SSam Ravnborg
38926b4c912SSam Ravnborgconfig SPARC_LED
39026b4c912SSam Ravnborg	tristate "Sun4m LED driver"
39126b4c912SSam Ravnborg	depends on SPARC32
39226b4c912SSam Ravnborg	help
39326b4c912SSam Ravnborg	  This driver toggles the front-panel LED on sun4m systems
39426b4c912SSam Ravnborg	  in a user-specifiable manner.  Its state can be probed
39526b4c912SSam Ravnborg	  by reading /proc/led and its blinking mode can be changed
39626b4c912SSam Ravnborg	  via writes to /proc/led
39726b4c912SSam Ravnborg
3981da177e4SLinus Torvaldsconfig SERIAL_CONSOLE
3991da177e4SLinus Torvalds	bool
40026b4c912SSam Ravnborg	depends on SPARC32
4011da177e4SLinus Torvalds	default y
4021da177e4SLinus Torvalds	---help---
4031da177e4SLinus Torvalds	  If you say Y here, it will be possible to use a serial port as the
4041da177e4SLinus Torvalds	  system console (the system console is the device which receives all
4051da177e4SLinus Torvalds	  kernel messages and warnings and which allows logins in single user
4061da177e4SLinus Torvalds	  mode). This could be useful if some terminal or printer is connected
4071da177e4SLinus Torvalds	  to that serial port.
4081da177e4SLinus Torvalds
4091da177e4SLinus Torvalds	  Even if you say Y here, the currently visible virtual console
4101da177e4SLinus Torvalds	  (/dev/tty0) will still be used as the system console by default, but
4111da177e4SLinus Torvalds	  you can alter that using a kernel command line option such as
4121da177e4SLinus Torvalds	  "console=ttyS1". (Try "man bootparam" or see the documentation of
4131da177e4SLinus Torvalds	  your boot loader (silo) about how to pass options to the kernel at
4141da177e4SLinus Torvalds	  boot time.)
4151da177e4SLinus Torvalds
4161da177e4SLinus Torvalds	  If you don't have a graphics card installed and you say Y here, the
4171da177e4SLinus Torvalds	  kernel will automatically use the first serial line, /dev/ttyS0, as
4181da177e4SLinus Torvalds	  system console.
4191da177e4SLinus Torvalds
4201da177e4SLinus Torvalds	  If unsure, say N.
4211da177e4SLinus Torvalds
4225213a780SKonrad Eiseleconfig SPARC_LEON
4235213a780SKonrad Eisele	bool "Sparc Leon processor family"
4245213a780SKonrad Eisele	depends on SPARC32
4259296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_MMIO
4269296d94dSFlorian Fainelli	select USB_EHCI_BIG_ENDIAN_DESC
4275213a780SKonrad Eisele	---help---
4285213a780SKonrad Eisele	  If you say Y here if you are running on a SPARC-LEON processor.
4295213a780SKonrad Eisele	  The LEON processor is a synthesizable VHDL model of the
4305213a780SKonrad Eisele	  SPARC-v8 standard. LEON is  part of the GRLIB collection of
4315213a780SKonrad Eisele	  IP cores that are distributed under GPL. GRLIB can be downloaded
4325213a780SKonrad Eisele	  from www.gaisler.com. You can download a sparc-linux cross-compilation
4335213a780SKonrad Eisele	  toolchain at www.gaisler.com.
4345213a780SKonrad Eisele
435684151a7SDaniel Hellstromif SPARC_LEON
436684151a7SDaniel Hellstrommenu "U-Boot options"
437684151a7SDaniel Hellstrom
438684151a7SDaniel Hellstromconfig UBOOT_LOAD_ADDR
439684151a7SDaniel Hellstrom	hex "uImage Load Address"
440684151a7SDaniel Hellstrom	default 0x40004000
441684151a7SDaniel Hellstrom	---help---
442684151a7SDaniel Hellstrom	 U-Boot kernel load address, the address in physical address space
443684151a7SDaniel Hellstrom	 where u-boot will place the Linux kernel before booting it.
444684151a7SDaniel Hellstrom	 This address is normally the base address of main memory + 0x4000.
445684151a7SDaniel Hellstrom
446684151a7SDaniel Hellstromconfig UBOOT_FLASH_ADDR
447684151a7SDaniel Hellstrom	hex "uImage.o Load Address"
448684151a7SDaniel Hellstrom	default 0x00080000
449684151a7SDaniel Hellstrom	---help---
450684151a7SDaniel Hellstrom	 Optional setting only affecting the uImage.o ELF-image used to
451684151a7SDaniel Hellstrom	 download the uImage file to the target using a ELF-loader other than
452684151a7SDaniel Hellstrom	 U-Boot. It may for example be used to download an uImage to FLASH with
453684151a7SDaniel Hellstrom	 the GRMON utility before even starting u-boot.
454684151a7SDaniel Hellstrom
455684151a7SDaniel Hellstromconfig UBOOT_ENTRY_ADDR
456684151a7SDaniel Hellstrom	hex "uImage Entry Address"
457684151a7SDaniel Hellstrom	default 0xf0004000
458684151a7SDaniel Hellstrom	---help---
459684151a7SDaniel Hellstrom	 Do not change this unless you know what you're doing. This is
460684151a7SDaniel Hellstrom	 hardcoded by the SPARC32 and LEON port.
461684151a7SDaniel Hellstrom
462684151a7SDaniel Hellstrom	 This is the virtual address u-boot jumps to when booting the Linux
463684151a7SDaniel Hellstrom	 Kernel.
464684151a7SDaniel Hellstrom
465684151a7SDaniel Hellstromendmenu
466684151a7SDaniel Hellstromendif
467684151a7SDaniel Hellstrom
4684b27e0e1SSam Ravnborgendmenu
4694b27e0e1SSam Ravnborg
4704b27e0e1SSam Ravnborgmenu "Bus options (PCI etc.)"
4714b27e0e1SSam Ravnborgconfig SBUS
4724b27e0e1SSam Ravnborg	bool
4734b27e0e1SSam Ravnborg	default y
4744b27e0e1SSam Ravnborg
4754b27e0e1SSam Ravnborgconfig SBUSCHAR
4764b27e0e1SSam Ravnborg	bool
4774b27e0e1SSam Ravnborg	default y
4784b27e0e1SSam Ravnborg
47926b4c912SSam Ravnborgconfig SUN_LDOMS
48026b4c912SSam Ravnborg	bool "Sun Logical Domains support"
48126b4c912SSam Ravnborg	depends on SPARC64
48226b4c912SSam Ravnborg	help
48326b4c912SSam Ravnborg	  Say Y here is you want to support virtual devices via
48426b4c912SSam Ravnborg	  Logical Domains.
48526b4c912SSam Ravnborg
4861da177e4SLinus Torvaldsconfig PCI
4871da177e4SLinus Torvalds	bool "Support for PCI and PS/2 keyboard/mouse"
4881da177e4SLinus Torvalds	help
48926b4c912SSam Ravnborg	  Find out whether your system includes a PCI bus. PCI is the name of
49026b4c912SSam Ravnborg	  a bus system, i.e. the way the CPU talks to the other stuff inside
49126b4c912SSam Ravnborg	  your box.  If you say Y here, the kernel will include drivers and
49226b4c912SSam Ravnborg	  infrastructure code to support PCI bus devices.
49326b4c912SSam Ravnborg
4941da177e4SLinus Torvalds	  CONFIG_PCI is needed for all JavaStation's (including MrCoffee),
4951da177e4SLinus Torvalds	  CP-1200, JavaEngine-1, Corona, Red October, and Serengeti SGSC.
4961da177e4SLinus Torvalds	  All of these platforms are extremely obscure, so say N if unsure.
4971da177e4SLinus Torvalds
49826b4c912SSam Ravnborgconfig PCI_DOMAINS
49926b4c912SSam Ravnborg	def_bool PCI if SPARC64
50026b4c912SSam Ravnborg
50136e23590SMatthew Wilcoxconfig PCI_SYSCALL
50236e23590SMatthew Wilcox	def_bool PCI
50336e23590SMatthew Wilcox
504cfe3af5dSDaniel Hellstromconfig PCIC_PCI
505cfe3af5dSDaniel Hellstrom	bool
5068c47f8d0SDavid S. Miller	depends on PCI && SPARC32 && !SPARC_LEON
507cfe3af5dSDaniel Hellstrom	default y
508cfe3af5dSDaniel Hellstrom
50926893c13SDaniel Hellstromconfig LEON_PCI
51026893c13SDaniel Hellstrom	bool
51126893c13SDaniel Hellstrom	depends on PCI && SPARC_LEON
51226893c13SDaniel Hellstrom	default y
51326893c13SDaniel Hellstrom
514d8650106SDaniel Hellstromconfig SPARC_GRPCI1
515d8650106SDaniel Hellstrom	bool "GRPCI Host Bridge Support"
516d8650106SDaniel Hellstrom	depends on LEON_PCI
517d8650106SDaniel Hellstrom	default y
518d8650106SDaniel Hellstrom	help
519d8650106SDaniel Hellstrom	  Say Y here to include the GRPCI Host Bridge Driver. The GRPCI
520d8650106SDaniel Hellstrom	  PCI host controller is typically found in GRLIB SPARC32/LEON
521d8650106SDaniel Hellstrom	  systems. The driver has one property (all_pci_errors) controlled
522d8650106SDaniel Hellstrom	  from the bootloader that makes the GRPCI to generate interrupts
523d8650106SDaniel Hellstrom	  on detected PCI Parity and System errors.
524d8650106SDaniel Hellstrom
5251ab0a676SDaniel Hellstromconfig SPARC_GRPCI2
5265d07b786SDaniel Hellstrom	bool "GRPCI2 Host Bridge Support"
5275d07b786SDaniel Hellstrom	depends on LEON_PCI
5285d07b786SDaniel Hellstrom	default y
5295d07b786SDaniel Hellstrom	help
5305d07b786SDaniel Hellstrom	  Say Y here to include the GRPCI2 Host Bridge Driver.
5315d07b786SDaniel Hellstrom
5321da177e4SLinus Torvaldssource "drivers/pci/Kconfig"
5331da177e4SLinus Torvalds
534c6afec5eSDavid S. Millersource "drivers/pcmcia/Kconfig"
535c6afec5eSDavid S. Miller
5361da177e4SLinus Torvaldsconfig SUN_OPENPROMFS
5371da177e4SLinus Torvalds	tristate "Openprom tree appears in /proc/openprom"
5381da177e4SLinus Torvalds	help
5391da177e4SLinus Torvalds	  If you say Y, the OpenPROM device tree will be available as a
5401da177e4SLinus Torvalds	  virtual file system, which you can mount to /proc/openprom by "mount
5411da177e4SLinus Torvalds	  -t openpromfs none /proc/openprom".
5421da177e4SLinus Torvalds
5431da177e4SLinus Torvalds	  To compile the /proc/openprom support as a module, choose M here: the
5441da177e4SLinus Torvalds	  module will be called openpromfs.
5451da177e4SLinus Torvalds
5461da177e4SLinus Torvalds	  Only choose N if you know in advance that you will not need to modify
5471da177e4SLinus Torvalds	  OpenPROM settings on the running system.
5481da177e4SLinus Torvalds
549a988fb80SThomas Petazzoni# Makefile helpers
550d670bd4fSSam Ravnborgconfig SPARC64_PCI
551d670bd4fSSam Ravnborg	bool
552d670bd4fSSam Ravnborg	default y
553d670bd4fSSam Ravnborg	depends on SPARC64 && PCI
55430aaa808SWilliam Lee Irwin III
555a988fb80SThomas Petazzoniconfig SPARC64_PCI_MSI
556a988fb80SThomas Petazzoni	bool
557a988fb80SThomas Petazzoni	default y
558a988fb80SThomas Petazzoni	depends on SPARC64_PCI && PCI_MSI
559a988fb80SThomas Petazzoni
56030aaa808SWilliam Lee Irwin IIIendmenu
56130aaa808SWilliam Lee Irwin III
56212e271a8SSam Ravnborgmenu "Executable file formats"
56312e271a8SSam Ravnborg
56412e271a8SSam Ravnborgsource "fs/Kconfig.binfmt"
56512e271a8SSam Ravnborg
56626b4c912SSam Ravnborgconfig COMPAT
56726b4c912SSam Ravnborg	bool
56826b4c912SSam Ravnborg	depends on SPARC64
56926b4c912SSam Ravnborg	default y
57026b4c912SSam Ravnborg	select COMPAT_BINFMT_ELF
571af1839ebSCatalin Marinas	select HAVE_UID16
57248b25c43SChris Metcalf	select ARCH_WANT_OLD_COMPAT_IPC
573a274bd49SAl Viro	select COMPAT_OLD_SIGACTION
57426b4c912SSam Ravnborg
57526b4c912SSam Ravnborgconfig SYSVIPC_COMPAT
57626b4c912SSam Ravnborg	bool
57726b4c912SSam Ravnborg	depends on COMPAT && SYSVIPC
57826b4c912SSam Ravnborg	default y
57926b4c912SSam Ravnborg
58045de6767SDavid Howellsconfig KEYS_COMPAT
58145de6767SDavid Howells	def_bool y if COMPAT && KEYS
58245de6767SDavid Howells
58312e271a8SSam Ravnborgendmenu
58412e271a8SSam Ravnborg
585d5950b43SSam Ravnborgsource "net/Kconfig"
586d5950b43SSam Ravnborg
58730aaa808SWilliam Lee Irwin IIIsource "drivers/Kconfig"
5881da177e4SLinus Torvalds
5891da177e4SLinus Torvaldssource "drivers/sbus/char/Kconfig"
5901da177e4SLinus Torvalds
5911da177e4SLinus Torvaldssource "fs/Kconfig"
5921da177e4SLinus Torvalds
5931da177e4SLinus Torvaldssource "arch/sparc/Kconfig.debug"
5941da177e4SLinus Torvalds
5951da177e4SLinus Torvaldssource "security/Kconfig"
5961da177e4SLinus Torvalds
5971da177e4SLinus Torvaldssource "crypto/Kconfig"
5981da177e4SLinus Torvalds
5991da177e4SLinus Torvaldssource "lib/Kconfig"
600