Blame view
arch/openrisc/Kconfig
4.67 KB
b24413180 License cleanup: ... |
1 |
# SPDX-License-Identifier: GPL-2.0 |
f8c4a270d OpenRISC: Build i... |
2 3 |
# # For a description of the syntax of this configuration file, |
cd238effe docs: kbuild: con... |
4 |
# see Documentation/kbuild/kconfig-language.rst. |
f8c4a270d OpenRISC: Build i... |
5 6 7 8 |
# config OPENRISC def_bool y |
942fa985e 32-bit userspace ... |
9 |
select ARCH_32BIT_OFF_T |
a4a4d11a2 openrisc: use the... |
10 11 |
select ARCH_HAS_DMA_SET_UNCACHED select ARCH_HAS_DMA_CLEAR_UNCACHED |
5600779ea openrisc: use gen... |
12 |
select ARCH_HAS_SYNC_DMA_FOR_DEVICE |
f8c4a270d OpenRISC: Build i... |
13 14 |
select OF select OF_EARLY_FLATTREE |
b4c4c6ee9 openrisc: impleme... |
15 |
select IRQ_DOMAIN |
d1f6f28f6 openrisc: Convert... |
16 |
select HANDLE_DOMAIN_IRQ |
8636f344c openrisc: do away... |
17 |
select GPIOLIB |
0ecdcaa6d openrisc: Fix Kco... |
18 |
select HAVE_ARCH_TRACEHOOK |
c0fcaf554 openrisc: use SPA... |
19 |
select SPARSE_IRQ |
f8c4a270d OpenRISC: Build i... |
20 21 22 23 |
select GENERIC_IRQ_CHIP select GENERIC_IRQ_PROBE select GENERIC_IRQ_SHOW select GENERIC_IOMAP |
9f13a1fd4 cpu: Register a g... |
24 |
select GENERIC_CPU_DEVICES |
04ea1e91f openrisc: fix CON... |
25 |
select HAVE_UID16 |
0662d33ad OpenRISC: Select ... |
26 |
select GENERIC_ATOMIC64 |
5bf8f6bfc openrisc: Use gen... |
27 |
select GENERIC_CLOCKEVENTS |
8e6d08e0a openrisc: initial... |
28 |
select GENERIC_CLOCKEVENTS_BROADCAST |
603d6637a openrisc: use gen... |
29 |
select GENERIC_STRNCPY_FROM_USER |
b48b2c3e5 openrisc: use gen... |
30 |
select GENERIC_STRNLEN_USER |
8e6d08e0a openrisc: initial... |
31 |
select GENERIC_SMP_IDLE_THREAD |
786d35d45 Make most arch as... |
32 |
select MODULES_USE_ELF_RELA |
d1a1dc0be consolidate per-a... |
33 |
select HAVE_DEBUG_STACKOVERFLOW |
4db8e6d20 irqchip: or1k-pic... |
34 |
select OR1K_PIC |
fff7fb0b2 lib/GCD.c: use bi... |
35 |
select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1 |
b5f821761 openrisc: use qsp... |
36 37 |
select ARCH_USE_QUEUED_SPINLOCKS select ARCH_USE_QUEUED_RWLOCKS |
9b54470af irqchip: add init... |
38 |
select OMPIC if SMP |
eecac38b0 openrisc: support... |
39 |
select ARCH_WANT_FRAME_POINTERS |
c5ca4560d openrisc: Use the... |
40 |
select GENERIC_IRQ_MULTI_HANDLER |
6137fed08 arch/tlb: Clean u... |
41 |
select MMU_GATHER_NO_RANGE if MMU |
964f595e6 Revert "Revert "u... |
42 |
select SET_FS |
f8c4a270d OpenRISC: Build i... |
43 |
|
4c97a0c8f arch: define CPU_... |
44 45 |
config CPU_BIG_ENDIAN def_bool y |
f8c4a270d OpenRISC: Build i... |
46 47 |
config MMU def_bool y |
f8c4a270d OpenRISC: Build i... |
48 49 |
config GENERIC_HWEIGHT def_bool y |
ce816fa88 Kconfig: rename H... |
50 |
config NO_IOPORT_MAP |
f8c4a270d OpenRISC: Build i... |
51 |
def_bool y |
f8c4a270d OpenRISC: Build i... |
52 |
config TRACE_IRQFLAGS_SUPPORT |
0ecdcaa6d openrisc: Fix Kco... |
53 |
def_bool y |
f8c4a270d OpenRISC: Build i... |
54 55 56 57 |
# For now, use generic checksum functions #These can be reimplemented in assembly later if so inclined config GENERIC_CSUM |
0ecdcaa6d openrisc: Fix Kco... |
58 |
def_bool y |
f8c4a270d OpenRISC: Build i... |
59 |
|
eecac38b0 openrisc: support... |
60 61 |
config STACKTRACE_SUPPORT def_bool y |
78cdfb5cf openrisc: enable ... |
62 63 |
config LOCKDEP_SUPPORT def_bool y |
f8c4a270d OpenRISC: Build i... |
64 65 66 67 68 69 70 71 72 73 74 75 |
menu "Processor type and features" choice prompt "Subarchitecture" default OR1K_1200 config OR1K_1200 bool "OR1200" help Generic OpenRISC 1200 architecture endchoice |
4ee93d80a openrisc: add cac... |
76 77 78 79 80 81 82 83 84 85 |
config DCACHE_WRITETHROUGH bool "Have write through data caches" default n help Select this if your implementation features write through data caches. Selecting 'N' here will allow the kernel to force flushing of data caches at relevant times. Most OpenRISC implementations support write- through data caches. If unsure say N here |
f8c4a270d OpenRISC: Build i... |
86 |
config OPENRISC_BUILTIN_DTB |
0ecdcaa6d openrisc: Fix Kco... |
87 88 |
string "Builtin DTB" default "" |
f8c4a270d OpenRISC: Build i... |
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 |
menu "Class II Instructions" config OPENRISC_HAVE_INST_FF1 bool "Have instruction l.ff1" default y help Select this if your implementation has the Class II instruction l.ff1 config OPENRISC_HAVE_INST_FL1 bool "Have instruction l.fl1" default y help Select this if your implementation has the Class II instruction l.fl1 config OPENRISC_HAVE_INST_MUL bool "Have instruction l.mul for hardware multiply" default y help Select this if your implementation has a hardware multiply instruction config OPENRISC_HAVE_INST_DIV bool "Have instruction l.div for hardware divide" default y help Select this if your implementation has a hardware divide instruction endmenu |
34bbdcdcd openrisc: add NR_... |
116 |
config NR_CPUS |
8e6d08e0a openrisc: initial... |
117 118 119 120 121 122 123 124 125 126 127 128 129 |
int "Maximum number of CPUs (2-32)" range 2 32 depends on SMP default "2" config SMP bool "Symmetric Multi-Processing support" help This enables support for systems with more than one CPU. If you have a system with only one CPU, say N. If you have a system with more than one CPU, say Y. If you don't know what to do here, say N. |
f8c4a270d OpenRISC: Build i... |
130 |
|
8636a1f96 treewide: surroun... |
131 |
source "kernel/Kconfig.hz" |
f8c4a270d OpenRISC: Build i... |
132 133 134 135 136 137 138 139 140 141 142 143 144 |
config OPENRISC_NO_SPR_SR_DSX bool "use SPR_SR_DSX software emulation" if OR1K_1200 default y help SPR_SR_DSX bit is status register bit indicating whether the last exception has happened in delay slot. OpenRISC architecture makes it optional to have it implemented in hardware and the OR1200 does not have it. Say N here if you know that your OpenRISC processor has SPR_SR_DSX bit implemented. Say Y if you are unsure. |
91993c8c2 openrisc: use sha... |
145 146 147 148 149 150 151 152 153 154 |
config OPENRISC_HAVE_SHADOW_GPRS bool "Support for shadow gpr files" if !SMP default y if SMP help Say Y here if your OpenRISC processor features shadowed register files. They will in such case be used as a scratch reg storage on exception entry. On SMP systems, this feature is mandatory. On a unicore system it's safe to say N here if you are unsure. |
f8c4a270d OpenRISC: Build i... |
155 |
config CMDLINE |
0ecdcaa6d openrisc: Fix Kco... |
156 157 158 159 160 161 162 |
string "Default kernel command string" default "" help On some architectures there is currently no way for the boot loader to pass arguments to the kernel. For these architectures, you should supply some command-line options at build time by entering them here. |
f8c4a270d OpenRISC: Build i... |
163 164 |
menu "Debugging options" |
f8c4a270d OpenRISC: Build i... |
165 166 167 168 169 170 171 172 |
config JUMP_UPON_UNHANDLED_EXCEPTION bool "Try to die gracefully" default y help Now this puts kernel into infinite loop after first oops. Till your kernel crashes this doesn't have any influence. Say Y if you are unsure. |
f8c4a270d OpenRISC: Build i... |
173 174 175 176 177 |
config OPENRISC_ESR_EXCEPTION_BUG_CHECK bool "Check for possible ESR exception bug" default n help This option enables some checks that might expose some problems |
0ecdcaa6d openrisc: Fix Kco... |
178 |
in kernel. |
f8c4a270d OpenRISC: Build i... |
179 180 181 182 183 184 |
Say N if you are unsure. endmenu endmenu |