]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - arch/openrisc/Kconfig
Merge tag 'linux-kselftest-4.9-rc1-update' of git://git.kernel.org/pub/scm/linux...
[mirror_ubuntu-zesty-kernel.git] / arch / openrisc / Kconfig
CommitLineData
f8c4a270
JB
1#
2# For a description of the syntax of this configuration file,
395cf969 3# see Documentation/kbuild/kconfig-language.txt.
f8c4a270
JB
4#
5
6config OPENRISC
7 def_bool y
8 select OF
9 select OF_EARLY_FLATTREE
b4c4c6ee 10 select IRQ_DOMAIN
d1f6f28f 11 select HANDLE_DOMAIN_IRQ
f8c4a270 12 select HAVE_MEMBLOCK
8636f344 13 select GPIOLIB
f8c4a270 14 select HAVE_ARCH_TRACEHOOK
f8c4a270
JB
15 select GENERIC_IRQ_CHIP
16 select GENERIC_IRQ_PROBE
17 select GENERIC_IRQ_SHOW
18 select GENERIC_IOMAP
9f13a1fd 19 select GENERIC_CPU_DEVICES
04ea1e91 20 select HAVE_UID16
0662d33a 21 select GENERIC_ATOMIC64
5bf8f6bf 22 select GENERIC_CLOCKEVENTS
603d6637 23 select GENERIC_STRNCPY_FROM_USER
b48b2c3e 24 select GENERIC_STRNLEN_USER
786d35d4 25 select MODULES_USE_ELF_RELA
d1a1dc0b 26 select HAVE_DEBUG_STACKOVERFLOW
4db8e6d2 27 select OR1K_PIC
fff7fb0b 28 select CPU_NO_EFFICIENT_FFS if !OPENRISC_HAVE_INST_FF1
f8c4a270
JB
29
30config MMU
31 def_bool y
32
f8c4a270
JB
33config RWSEM_GENERIC_SPINLOCK
34 def_bool y
35
36config RWSEM_XCHGADD_ALGORITHM
37 def_bool n
38
39config GENERIC_HWEIGHT
40 def_bool y
41
ce816fa8 42config NO_IOPORT_MAP
f8c4a270
JB
43 def_bool y
44
f8c4a270
JB
45config TRACE_IRQFLAGS_SUPPORT
46 def_bool y
47
48# For now, use generic checksum functions
49#These can be reimplemented in assembly later if so inclined
50config GENERIC_CSUM
51 def_bool y
52
f8c4a270
JB
53source "init/Kconfig"
54
57a1a197 55source "kernel/Kconfig.freezer"
f8c4a270
JB
56
57menu "Processor type and features"
58
59choice
60 prompt "Subarchitecture"
61 default OR1K_1200
62
63config OR1K_1200
64 bool "OR1200"
65 help
66 Generic OpenRISC 1200 architecture
67
68endchoice
69
70config OPENRISC_BUILTIN_DTB
71 string "Builtin DTB"
72 default ""
73
74menu "Class II Instructions"
75
76config OPENRISC_HAVE_INST_FF1
77 bool "Have instruction l.ff1"
78 default y
79 help
80 Select this if your implementation has the Class II instruction l.ff1
81
82config OPENRISC_HAVE_INST_FL1
83 bool "Have instruction l.fl1"
84 default y
85 help
86 Select this if your implementation has the Class II instruction l.fl1
87
88config OPENRISC_HAVE_INST_MUL
89 bool "Have instruction l.mul for hardware multiply"
90 default y
91 help
92 Select this if your implementation has a hardware multiply instruction
93
94config OPENRISC_HAVE_INST_DIV
95 bool "Have instruction l.div for hardware divide"
96 default y
97 help
98 Select this if your implementation has a hardware divide instruction
99endmenu
100
101
f8c4a270
JB
102source kernel/Kconfig.hz
103source kernel/Kconfig.preempt
104source "mm/Kconfig"
105
106config OPENRISC_NO_SPR_SR_DSX
107 bool "use SPR_SR_DSX software emulation" if OR1K_1200
108 default y
109 help
110 SPR_SR_DSX bit is status register bit indicating whether
111 the last exception has happened in delay slot.
112
113 OpenRISC architecture makes it optional to have it implemented
114 in hardware and the OR1200 does not have it.
115
116 Say N here if you know that your OpenRISC processor has
117 SPR_SR_DSX bit implemented. Say Y if you are unsure.
118
119config CMDLINE
120 string "Default kernel command string"
121 default ""
122 help
123 On some architectures there is currently no way for the boot loader
124 to pass arguments to the kernel. For these architectures, you should
125 supply some command-line options at build time by entering them
126 here.
127
128menu "Debugging options"
129
f8c4a270
JB
130config JUMP_UPON_UNHANDLED_EXCEPTION
131 bool "Try to die gracefully"
132 default y
133 help
134 Now this puts kernel into infinite loop after first oops. Till
135 your kernel crashes this doesn't have any influence.
136
137 Say Y if you are unsure.
138
f8c4a270
JB
139config OPENRISC_ESR_EXCEPTION_BUG_CHECK
140 bool "Check for possible ESR exception bug"
141 default n
142 help
143 This option enables some checks that might expose some problems
144 in kernel.
145
146 Say N if you are unsure.
147
148endmenu
149
150endmenu
151
152menu "Executable file formats"
153
154source "fs/Kconfig.binfmt"
155
156endmenu
157
158source "net/Kconfig"
159
160source "drivers/Kconfig"
161
162source "fs/Kconfig"
163
164source "security/Kconfig"
165
166source "crypto/Kconfig"
167
168source "lib/Kconfig"
169
170menu "Kernel hacking"
171
172source "lib/Kconfig.debug"
173
174endmenu