OpenCores
URL https://opencores.org/ocsvn/or1k_soc_on_altera_embedded_dev_kit/or1k_soc_on_altera_embedded_dev_kit/trunk

Subversion Repositories or1k_soc_on_altera_embedded_dev_kit

[/] [or1k_soc_on_altera_embedded_dev_kit/] [trunk/] [linux-2.6/] [linux-2.6.24/] [arch/] [or32/] [config.in] - Blame information for rev 7

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 7 xianfeng
#
2
# For a description of the syntax of this configuration file,
3
# see Documentation/kbuild/config-language.txt.
4
#
5
 
6
mainmenu "Linux/or32 Kernel Configuration"
7
 
8
config MMU
9
        bool
10
        default y
11
 
12
config UID16
13
        bool
14
        default y
15
 
16
config RWSEM_GENERIC_SPINLOCK
17
        bool
18
        default y
19
 
20
config RWSEM_XCHGADD_ALGORITHM
21
        bool
22
        default n
23
 
24
source "init/Kconfig"
25
 
26
 
27
menu "Processor type and features"
28
 
29
choice
30
        prompt "Subarchitecture/SoC type"
31
        default OR32_MARVIN
32
 
33
config  OR32_MARVIN
34
        bool "or1200/Marvin"
35
        help
36
          Marvin SoC
37
 
38
          revision 0 prototype hardware implementation
39
 
40
 
41
config OR32_HIGHLAND
42
        bool "or1200/Highland"
43
        help
44
          Highland SoC
45
 
46
          revision 1
47
 
48
config OR32_GENERIC
49
        bool "or1200/Generic"
50
        help
51
          Generic or1200 platform
52
 
53
endchoice
54
 
55
 
56
config OR32_SYS_CLK
57
        int "System clock frequency [MHz]"
58
        default 100
59
 
60
config OR32_MEMORY_SIZE
61
        hex "System memory size [hex, bytes]"
62
        default 01000000
63
 
64
config OR32_FLASH_BOOT
65
        bool "Boot from FLASH"
66
        default n
67
        help
68
          This alows you have support for extreamly simple bootloader
69
          in the kernel. It will just copy kernel image from FLASH to RAM and
70
          start executing it.
71
 
72
#
73
# Generic SoC defines
74
#
75
 
76
config OR32_MC_VERSION
77
        int "Memory Controler Version (1 or 2)"
78
        range 1 2
79
        depends on OR32_GENERIC
80
        default "1"
81
 
82
config OR32_MC_INIT
83
        bool "Initilaze memory controler"
84
        depends on OR32_GENERIC
85
        default n
86
        help
87
          This option controls memory controler initizalization
88
 
89
          When using bootloader, memory controler initialization is
90
          usualy done by boot the bootloader. Memory timings might not
91
          be ideal, so if you know the right timings it woun't hurt to
92
          enable it.
93
 
94
          If booting directly from flash you need to enable this option
95
          and if neccessery provide memory timings.
96
 
97
config OR32_ICACHE_ENABLED
98
        bool "Enable iCACHE"
99
        depends on OR32_GENERIC
100
        default n
101
 
102
config OR32_IC_SIZE
103
        int "iCACHE size [bytes]"
104
        depends on OR32_GENERIC
105
        default 8192
106
 
107
config OR32_IC_LINE
108
        int "iCACHE line size [bytes]"
109
        depends on OR32_GENERIC
110
        default 16
111
 
112
config OR32_DCACHE_ENABLED
113
        bool "Enable dCACHE"
114
        depends on OR32_GENERIC
115
        default n
116
 
117
config OR32_DC_SIZE
118
        int "dCACHE size [bytes]"
119
        depends on OR32_GENERIC
120
        default 8192
121
 
122
config OR32_DC_LINE
123
        int "dCACHE line size [bytes]"
124
        depends on OR32_GENERIC
125
        default 16
126
 
127
config OR32_ITLB_ENTRIES
128
        int "Number of iTLB entries"
129
        depends on OR32_GENERIC
130
        default 64
131
 
132
config OR32_DTLB_ENTRIES
133
        int "Number of dTLB entries"
134
        depends on OR32_GENERIC
135
        default 64
136
 
137
config OR32_NO_SPR_SR_DSX
138
        bool "use SPR_SR_DSX software emulation"
139
        depends on OR32_GENERIC
140
        default y
141
        help
142
          SPR_SR_DSX bit is status register bit indicating whether
143
          the last exception has happened in delay slot.
144
 
145
          OpenRISC architecture makes it optional to have it implemented
146
          in hardware, and Marvin and Highland SoC do not have it.
147
 
148
          Say N here if you know that your OpenRISC processor has
149
          SPR_SR_DSX bit implemented. Say Y if you are unsure.
150
 
151
#
152
# Define implied options for the selected SoC
153
#
154
config OR32_CPU_OR1200
155
        bool
156
        depends on OR32_MARVIN || OR32_HIGHLAND || OR32_GENERIC
157
        default y
158
 
159
config OR32_MC_VERSION
160
        int
161
        depends on !OR32_GENERIC
162
        default "1" if OR32_MARVIN
163
        default "2" if OR32_HIGHLAND
164
 
165
config OR32_MC_INIT
166
        bool
167
        depends on !OR32_GENERIC
168
        default y
169
 
170
config OR32_ICACHE_ENABLED
171
        bool
172
        depends on !OR32_GENERIC
173
        default n
174
 
175
config OR32_IC_SIZE
176
        int
177
        depends on !OR32_GENERIC
178
        default 8192
179
 
180
config OR32_IC_LINE
181
        int
182
        depends on !OR32_GENERIC
183
        default 16
184
 
185
config OR32_DCACHE_ENABLED
186
        bool
187
        depends on !OR32_GENERIC
188
        default n
189
 
190
config OR32_DC_SIZE
191
        int
192
        depends on !OR32_GENERIC
193
        default 8192
194
 
195
config OR32_DC_LINE
196
        int
197
        depends on !OR32_GENERIC
198
        default 16
199
 
200
config OR32_ITLB_ENTRIES
201
        int
202
        depends on !OR32_GENERIC
203
        default 64
204
 
205
config OR32_DTLB_ENTRIES
206
        int
207
        depends on !OR32_GENERIC
208
        default 64
209
 
210
config OR32_NO_SPR_SR_DSX
211
        bool
212
        depends on !OR32_GENERIC
213
        default y
214
 
215
 
216
menu "Debuging options"
217
 
218
config DEBUG_STACKOVERFLOW
219
        bool "Check for kernel stack overflow"
220
        default y
221
        help
222
          Make extra checks for space avaliable on stack in some
223
          critical functions. This will cause kernel to run a bit slower,
224
          but will catch most of kernel stack overruns and exit gracefuly.
225
 
226
          Say Y if you are unsure.
227
 
228
config OR32_GUARD_PROTECTED_CORE
229
        bool "Write protect read only part of kernel"
230
        default y
231
        help
232
          Write to .text or .rodata sections is most probably kernel bug.
233
          Enabling this will cause an oops at the instruction that tries to
234
          corrupt kernel.
235
 
236
          This has no performance implication but should help locating bugs.
237
 
238
          Say Y if you are unsure.
239
 
240
config JUMP_UPON_UNHANDLED_EXCEPTION
241
        bool "Try to die gracefully"
242
        default y
243
        help
244
          Now this puts kernel into infinite loop after first oops. Till
245
          your kernel crashes this doesn't have any influence.
246
 
247
          Say Y if you are unsure.
248
 
249
config OR32_EXCEPTION_DEBUG
250
        bool "Print processor state at each exception"
251
        default n
252
        help
253
          This option will make your kernel unusable for all but kernel
254
          debugging.
255
 
256
          Say N if you are unsure.
257
 
258
 
259
endmenu
260
 
261
endmenu
262
 
263
 
264
# OpenRISC specific drivers
265
 
266
source "arch/or32/drivers/Kconfig"
267
 
268
 
269
menu "Bus options"
270
 
271
config PCI
272
        bool "PCI support"
273
        default n
274
        help
275
          Find out whether your system includes a PCI bus. PCI is the name of
276
          a bus system, i.e. the way the CPU talks to the other stuff inside
277
          your box.  If you say Y here, the kernel will include drivers and
278
          infrastructure code to support PCI bus devices.
279
 
280
config PCI_DOMAINS
281
        bool
282
        default PCI
283
 
284
source "drivers/pci/Kconfig"
285
 
286
source "drivers/pcmcia/Kconfig"
287
 
288
# standard linux drivers
289
source "drivers/mtd/Kconfig"
290
 
291
source "drivers/parport/Kconfig"
292
 
293
source "drivers/pnp/Kconfig"
294
 
295
source "drivers/block/Kconfig"
296
 
297
source "drivers/md/Kconfig"
298
 
299
source "drivers/ide/Kconfig"
300
 
301
source "drivers/scsi/Kconfig"
302
 
303
source "drivers/ieee1394/Kconfig"
304
 
305
source "drivers/message/i2o/Kconfig"
306
 
307
source "net/Kconfig"
308
 
309
source "drivers/isdn/Kconfig"
310
 
311
source "drivers/telephony/Kconfig"
312
 
313
source "drivers/cdrom/Kconfig"
314
 
315
#
316
# input before char - char/joystick depends on it. As does USB.
317
#
318
source "drivers/input/Kconfig"
319
 
320
source "drivers/char/Kconfig"
321
 
322
#source drivers/misc/Config.in
323
source "drivers/media/Kconfig"
324
 
325
source "fs/Kconfig"
326
 
327
source "sound/Kconfig"
328
 
329
source "drivers/usb/Kconfig"
330
 
331
 
332
menu "Kernel hacking"
333
 
334
endmenu
335
 
336
source "security/Kconfig"
337
 
338
source "crypto/Kconfig"
339
 
340
source "lib/Kconfig"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.