| .. | .. |
|---|
| 1 | 1 | # SPDX-License-Identifier: GPL-2.0 |
|---|
| 2 | 2 | # |
|---|
| 3 | 3 | # For a description of the syntax of this configuration file, |
|---|
| 4 | | -# see Documentation/kbuild/kconfig-language.txt. |
|---|
| 4 | +# see Documentation/kbuild/kconfig-language.rst. |
|---|
| 5 | 5 | # |
|---|
| 6 | 6 | |
|---|
| 7 | 7 | config OPENRISC |
|---|
| 8 | 8 | def_bool y |
|---|
| 9 | + select ARCH_32BIT_OFF_T |
|---|
| 10 | + select ARCH_HAS_DMA_SET_UNCACHED |
|---|
| 11 | + select ARCH_HAS_DMA_CLEAR_UNCACHED |
|---|
| 9 | 12 | select ARCH_HAS_SYNC_DMA_FOR_DEVICE |
|---|
| 10 | | - select DMA_NONCOHERENT_OPS |
|---|
| 11 | 13 | select OF |
|---|
| 12 | 14 | select OF_EARLY_FLATTREE |
|---|
| 13 | 15 | select IRQ_DOMAIN |
|---|
| 14 | 16 | select HANDLE_DOMAIN_IRQ |
|---|
| 15 | | - select HAVE_MEMBLOCK |
|---|
| 16 | 17 | select GPIOLIB |
|---|
| 17 | | - select HAVE_ARCH_TRACEHOOK |
|---|
| 18 | + select HAVE_ARCH_TRACEHOOK |
|---|
| 18 | 19 | select SPARSE_IRQ |
|---|
| 19 | 20 | select GENERIC_IRQ_CHIP |
|---|
| 20 | 21 | select GENERIC_IRQ_PROBE |
|---|
| .. | .. |
|---|
| 32 | 33 | select HAVE_DEBUG_STACKOVERFLOW |
|---|
| 33 | 34 | select OR1K_PIC |
|---|
| 34 | 35 | select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1 |
|---|
| 35 | | - select NO_BOOTMEM |
|---|
| 36 | 36 | select ARCH_USE_QUEUED_SPINLOCKS |
|---|
| 37 | 37 | select ARCH_USE_QUEUED_RWLOCKS |
|---|
| 38 | 38 | select OMPIC if SMP |
|---|
| 39 | 39 | select ARCH_WANT_FRAME_POINTERS |
|---|
| 40 | 40 | select GENERIC_IRQ_MULTI_HANDLER |
|---|
| 41 | + select MMU_GATHER_NO_RANGE if MMU |
|---|
| 42 | + select SET_FS |
|---|
| 41 | 43 | |
|---|
| 42 | 44 | config CPU_BIG_ENDIAN |
|---|
| 43 | 45 | def_bool y |
|---|
| 44 | 46 | |
|---|
| 45 | 47 | config MMU |
|---|
| 46 | 48 | def_bool y |
|---|
| 47 | | - |
|---|
| 48 | | -config RWSEM_GENERIC_SPINLOCK |
|---|
| 49 | | - def_bool y |
|---|
| 50 | | - |
|---|
| 51 | | -config RWSEM_XCHGADD_ALGORITHM |
|---|
| 52 | | - def_bool n |
|---|
| 53 | 49 | |
|---|
| 54 | 50 | config GENERIC_HWEIGHT |
|---|
| 55 | 51 | def_bool y |
|---|
| .. | .. |
|---|
| 58 | 54 | def_bool y |
|---|
| 59 | 55 | |
|---|
| 60 | 56 | config TRACE_IRQFLAGS_SUPPORT |
|---|
| 61 | | - def_bool y |
|---|
| 57 | + def_bool y |
|---|
| 62 | 58 | |
|---|
| 63 | 59 | # For now, use generic checksum functions |
|---|
| 64 | 60 | #These can be reimplemented in assembly later if so inclined |
|---|
| 65 | 61 | config GENERIC_CSUM |
|---|
| 66 | | - def_bool y |
|---|
| 62 | + def_bool y |
|---|
| 67 | 63 | |
|---|
| 68 | 64 | config STACKTRACE_SUPPORT |
|---|
| 69 | 65 | def_bool y |
|---|
| .. | .. |
|---|
| 96 | 92 | If unsure say N here |
|---|
| 97 | 93 | |
|---|
| 98 | 94 | config OPENRISC_BUILTIN_DTB |
|---|
| 99 | | - string "Builtin DTB" |
|---|
| 100 | | - default "" |
|---|
| 95 | + string "Builtin DTB" |
|---|
| 96 | + default "" |
|---|
| 101 | 97 | |
|---|
| 102 | 98 | menu "Class II Instructions" |
|---|
| 103 | 99 | |
|---|
| .. | .. |
|---|
| 141 | 137 | |
|---|
| 142 | 138 | If you don't know what to do here, say N. |
|---|
| 143 | 139 | |
|---|
| 144 | | -source kernel/Kconfig.hz |
|---|
| 140 | +source "kernel/Kconfig.hz" |
|---|
| 145 | 141 | |
|---|
| 146 | 142 | config OPENRISC_NO_SPR_SR_DSX |
|---|
| 147 | 143 | bool "use SPR_SR_DSX software emulation" if OR1K_1200 |
|---|
| .. | .. |
|---|
| 168 | 164 | On a unicore system it's safe to say N here if you are unsure. |
|---|
| 169 | 165 | |
|---|
| 170 | 166 | 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. |
|---|
| 178 | 174 | |
|---|
| 179 | 175 | menu "Debugging options" |
|---|
| 180 | 176 | |
|---|
| .. | .. |
|---|
| 192 | 188 | default n |
|---|
| 193 | 189 | help |
|---|
| 194 | 190 | This option enables some checks that might expose some problems |
|---|
| 195 | | - in kernel. |
|---|
| 191 | + in kernel. |
|---|
| 196 | 192 | |
|---|
| 197 | 193 | Say N if you are unsure. |
|---|
| 198 | 194 | |
|---|