hc
2023-12-11 d2ccde1c8e90d38cee87a1b0309ad2827f3fd30d
kernel/arch/openrisc/Kconfig
....@@ -1,20 +1,21 @@
11 # SPDX-License-Identifier: GPL-2.0
22 #
33 # For a description of the syntax of this configuration file,
4
-# see Documentation/kbuild/kconfig-language.txt.
4
+# see Documentation/kbuild/kconfig-language.rst.
55 #
66
77 config OPENRISC
88 def_bool y
9
+ select ARCH_32BIT_OFF_T
10
+ select ARCH_HAS_DMA_SET_UNCACHED
11
+ select ARCH_HAS_DMA_CLEAR_UNCACHED
912 select ARCH_HAS_SYNC_DMA_FOR_DEVICE
10
- select DMA_NONCOHERENT_OPS
1113 select OF
1214 select OF_EARLY_FLATTREE
1315 select IRQ_DOMAIN
1416 select HANDLE_DOMAIN_IRQ
15
- select HAVE_MEMBLOCK
1617 select GPIOLIB
17
- select HAVE_ARCH_TRACEHOOK
18
+ select HAVE_ARCH_TRACEHOOK
1819 select SPARSE_IRQ
1920 select GENERIC_IRQ_CHIP
2021 select GENERIC_IRQ_PROBE
....@@ -32,24 +33,19 @@
3233 select HAVE_DEBUG_STACKOVERFLOW
3334 select OR1K_PIC
3435 select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1
35
- select NO_BOOTMEM
3636 select ARCH_USE_QUEUED_SPINLOCKS
3737 select ARCH_USE_QUEUED_RWLOCKS
3838 select OMPIC if SMP
3939 select ARCH_WANT_FRAME_POINTERS
4040 select GENERIC_IRQ_MULTI_HANDLER
41
+ select MMU_GATHER_NO_RANGE if MMU
42
+ select SET_FS
4143
4244 config CPU_BIG_ENDIAN
4345 def_bool y
4446
4547 config MMU
4648 def_bool y
47
-
48
-config RWSEM_GENERIC_SPINLOCK
49
- def_bool y
50
-
51
-config RWSEM_XCHGADD_ALGORITHM
52
- def_bool n
5349
5450 config GENERIC_HWEIGHT
5551 def_bool y
....@@ -58,12 +54,12 @@
5854 def_bool y
5955
6056 config TRACE_IRQFLAGS_SUPPORT
61
- def_bool y
57
+ def_bool y
6258
6359 # For now, use generic checksum functions
6460 #These can be reimplemented in assembly later if so inclined
6561 config GENERIC_CSUM
66
- def_bool y
62
+ def_bool y
6763
6864 config STACKTRACE_SUPPORT
6965 def_bool y
....@@ -96,8 +92,8 @@
9692 If unsure say N here
9793
9894 config OPENRISC_BUILTIN_DTB
99
- string "Builtin DTB"
100
- default ""
95
+ string "Builtin DTB"
96
+ default ""
10197
10298 menu "Class II Instructions"
10399
....@@ -141,7 +137,7 @@
141137
142138 If you don't know what to do here, say N.
143139
144
-source kernel/Kconfig.hz
140
+source "kernel/Kconfig.hz"
145141
146142 config OPENRISC_NO_SPR_SR_DSX
147143 bool "use SPR_SR_DSX software emulation" if OR1K_1200
....@@ -168,13 +164,13 @@
168164 On a unicore system it's safe to say N here if you are unsure.
169165
170166 config CMDLINE
171
- string "Default kernel command string"
172
- default ""
173
- help
174
- On some architectures there is currently no way for the boot loader
175
- to pass arguments to the kernel. For these architectures, you should
176
- supply some command-line options at build time by entering them
177
- here.
167
+ string "Default kernel command string"
168
+ default ""
169
+ help
170
+ On some architectures there is currently no way for the boot loader
171
+ to pass arguments to the kernel. For these architectures, you should
172
+ supply some command-line options at build time by entering them
173
+ here.
178174
179175 menu "Debugging options"
180176
....@@ -192,7 +188,7 @@
192188 default n
193189 help
194190 This option enables some checks that might expose some problems
195
- in kernel.
191
+ in kernel.
196192
197193 Say N if you are unsure.
198194