Blame view

arch/openrisc/Kconfig 3.75 KB
b24413180   Greg Kroah-Hartman   License cleanup: ...
1
  # SPDX-License-Identifier: GPL-2.0
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
2
3
  #
  # For a description of the syntax of this configuration file,
395cf9691   Paul Bolle   doc: fix broken r...
4
  # see Documentation/kbuild/kconfig-language.txt.
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
5
6
7
8
9
10
  #
  
  config OPENRISC
  	def_bool y
  	select OF
  	select OF_EARLY_FLATTREE
b4c4c6ee9   Jonas Bonn   openrisc: impleme...
11
  	select IRQ_DOMAIN
d1f6f28f6   Marc Zyngier   openrisc: Convert...
12
  	select HANDLE_DOMAIN_IRQ
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
13
  	select HAVE_MEMBLOCK
8636f344c   Linus Walleij   openrisc: do away...
14
  	select GPIOLIB
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
15
          select HAVE_ARCH_TRACEHOOK
c0fcaf554   Jonas Bonn   openrisc: use SPA...
16
  	select SPARSE_IRQ
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
17
18
19
20
  	select GENERIC_IRQ_CHIP
  	select GENERIC_IRQ_PROBE
  	select GENERIC_IRQ_SHOW
  	select GENERIC_IOMAP
9f13a1fd4   Ben Hutchings   cpu: Register a g...
21
  	select GENERIC_CPU_DEVICES
04ea1e91f   Andrew Morton   openrisc: fix CON...
22
  	select HAVE_UID16
0662d33ad   Richard Weinberger   OpenRISC: Select ...
23
  	select GENERIC_ATOMIC64
5bf8f6bfc   Anna-Maria Gleixner   openrisc: Use gen...
24
  	select GENERIC_CLOCKEVENTS
603d6637a   Jonas Bonn   openrisc: use gen...
25
  	select GENERIC_STRNCPY_FROM_USER
b48b2c3e5   Jonas Bonn   openrisc: use gen...
26
  	select GENERIC_STRNLEN_USER
786d35d45   David Howells   Make most arch as...
27
  	select MODULES_USE_ELF_RELA
d1a1dc0be   Dave Hansen   consolidate per-a...
28
  	select HAVE_DEBUG_STACKOVERFLOW
4db8e6d20   Stefan Kristiansson   irqchip: or1k-pic...
29
  	select OR1K_PIC
fff7fb0b2   Zhaoxiu Zeng   lib/GCD.c: use bi...
30
  	select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1
266c7fad1   Stafford Horne   openrisc: Consoli...
31
  	select NO_BOOTMEM
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
32

4c97a0c8f   Babu Moger   arch: define CPU_...
33
34
  config CPU_BIG_ENDIAN
  	def_bool y
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
35
36
  config MMU
  	def_bool y
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
37
38
39
40
41
42
43
44
  config RWSEM_GENERIC_SPINLOCK
  	def_bool y
  
  config RWSEM_XCHGADD_ALGORITHM
  	def_bool n
  
  config GENERIC_HWEIGHT
  	def_bool y
ce816fa88   Uwe Kleine-König   Kconfig: rename H...
45
  config NO_IOPORT_MAP
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
46
  	def_bool y
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
47
48
49
50
51
52
53
  config TRACE_IRQFLAGS_SUPPORT
          def_bool y
  
  # For now, use generic checksum functions
  #These can be reimplemented in assembly later if so inclined
  config GENERIC_CSUM
          def_bool y
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
54
  source "init/Kconfig"
57a1a1976   Chen Gang   arch: *: Kconfig:...
55
  source "kernel/Kconfig.freezer"
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
  
  menu "Processor type and features"
  
  choice
  	prompt "Subarchitecture"
  	default OR1K_1200
  
  config OR1K_1200
  	bool "OR1200"
  	help
  	  Generic OpenRISC 1200 architecture
  
  endchoice
  
  config OPENRISC_BUILTIN_DTB
          string "Builtin DTB"
          default ""
  
  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   Stafford Horne   openrisc: add NR_...
100
101
102
  config NR_CPUS
  	int
  	default "1"
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
103

f8c4a270d   Jonas Bonn   OpenRISC: Build i...
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
  source kernel/Kconfig.hz
  source kernel/Kconfig.preempt
  source "mm/Kconfig"
  
  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.
  
  config CMDLINE
          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.
  
  menu "Debugging options"
f8c4a270d   Jonas Bonn   OpenRISC: Build i...
131
132
133
134
135
136
137
138
  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   Jonas Bonn   OpenRISC: Build i...
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
  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
            in kernel.
  
  	  Say N if you are unsure.
  
  endmenu
  
  endmenu
  
  menu "Executable file formats"
  
  source "fs/Kconfig.binfmt"
  
  endmenu
  
  source "net/Kconfig"
  
  source "drivers/Kconfig"
  
  source "fs/Kconfig"
  
  source "security/Kconfig"
  
  source "crypto/Kconfig"
  
  source "lib/Kconfig"
  
  menu "Kernel hacking"
  
  source "lib/Kconfig.debug"
  
  endmenu