Root/target/linux/ubicom32/files/arch/ubicom32/Kconfig

1#
2# For a description of the syntax of this configuration file,
3# see Documentation/kbuild/kconfig-language.txt.
4#
5
6mainmenu "uClinux/ubicom32 (w/o MMU) Kernel Configuration"
7
8config UBICOM32
9    bool
10    select HAVE_OPROFILE
11    default y
12
13config RAMKERNEL
14    bool
15    default y
16
17config CPU_BIG_ENDIAN
18    bool
19    default y
20
21config FORCE_MAX_ZONEORDER
22    int
23    default "14"
24
25config HAVE_CLK
26    bool
27    default y
28
29config MMU
30    bool
31    default n
32
33config FPU
34    bool
35    default n
36
37config ZONE_DMA
38    bool
39    default y
40
41config RWSEM_GENERIC_SPINLOCK
42    bool
43    default y
44
45config RWSEM_XCHGADD_ALGORITHM
46    bool
47    default n
48
49config ARCH_HAS_ILOG2_U32
50    bool
51    default n
52
53config ARCH_HAS_ILOG2_U64
54    bool
55    default n
56
57config GENERIC_FIND_NEXT_BIT
58    bool
59    default y
60
61config GENERIC_GPIO
62    bool
63    default y
64
65config GPIOLIB
66    bool
67    default y
68
69config GENERIC_HWEIGHT
70    bool
71    default y
72
73config GENERIC_HARDIRQS
74    bool
75    default y
76
77config STACKTRACE_SUPPORT
78    bool
79    default y
80
81config LOCKDEP_SUPPORT
82    bool
83    default y
84
85config GENERIC_CALIBRATE_DELAY
86    bool
87    default y
88
89config GENERIC_TIME
90    bool
91    default y
92
93config TIME_LOW_RES
94    bool
95    default y
96
97config GENERIC_CLOCKEVENTS
98    bool
99    default y
100
101config GENERIC_CLOCKEVENTS_BROADCAST
102    bool
103    depends on GENERIC_CLOCKEVENTS
104    default y if SMP && !LOCAL_TIMERS
105
106config NO_IOPORT
107    def_bool y
108
109config ARCH_SUPPORTS_AOUT
110    def_bool y
111
112config IRQ_PER_CPU
113    bool
114    default y
115
116config SCHED_NO_NO_OMIT_FRAME_POINTER
117    bool
118    default y
119
120config UBICOM32_PLIO
121    bool
122    default n
123
124menu "Processor type and features"
125
126comment "Processor type will be selected by Board"
127
128config UBICOM32_V3
129    bool
130    help
131      Ubicom IP5xxx series processor support.
132
133config UBICOM32_V4
134    bool
135    help
136      Ubicom IP7xxx series processor support.
137
138comment "Board"
139choice
140    prompt "Board type"
141    help
142        Select your board.
143
144config NOBOARD
145    bool "No board selected"
146    help
147        Default. Don't select any board specific config. Will not build unless you change!
148
149# Add your boards here
150source "arch/ubicom32/mach-ip5k/Kconfig"
151source "arch/ubicom32/mach-ip7k/Kconfig"
152
153endchoice
154
155comment "Kernel Options"
156config SMP
157    bool "Symmetric multi-processing support"
158    select USE_GENERIC_SMP_HELPERS
159    default n
160    help
161      Enables multithreading support. Enabling SMP support increases
162      the size of system data structures. SMP support can have either
163      positive or negative impact on performance depending on workloads.
164
165      If you do not know what to do here, say N.
166config OLD_40400010_SYSTEM_CALL
167    bool "Provide old system call interface at 0x40400010"
168    default y
169    help
170      Provides the old system call interface, does not affect the
171      new system_call interface.
172
173config NR_CPUS
174    int "Number of configured CPUs"
175    range 2 32
176    default 2
177    depends on SMP
178    help
179        Upper bound on the number of CPUs. Space is reserved
180        at compile time for this many CPUs.
181
182config LOCAL_TIMERS
183    bool "Use local timer interrupts"
184    depends on SMP
185    default y
186    help
187      Enable support for local timers on SMP platforms, rather then the
188      legacy IPI broadcast method. Local timers allows the system
189      accounting to be spread across the timer interval, preventing a
190      "thundering herd" at every timer tick. A physical timer is allocated
191      per cpu.
192
193config TIMER_EXTRA_ALLOC
194    int "Number of additional physical timer events to create"
195    depends on GENERIC_CLOCKEVENTS
196    default 0
197    help
198        The Ubicom32 processor has a number of event timers that can be wrapped
199        in Linux clock event structures (assuming that the timers are not being
200        used for another purpose). Based on the value of LOCAL_TIMERS, either
201        2 timers will be used or a timer will be used for every CPU. This value
202        allows the programmer to select additional timers over that amount.
203
204config IRQSTACKS
205    bool "Create separate stacks for interrupt handling"
206    default n
207    help
208        Selecting this causes interrupts to be created on a separate
209        stack instead of nesting the interrupts on the kernel stack.
210
211config IRQSTACKS_USEOCM
212    bool "Use OCM for interrupt stacks"
213    default n
214    depends on IRQSTACKS
215    help
216        Selecting this cause the interrupt stacks to be placed in OCM
217        reducing cache misses at the expense of using the OCM for servicing
218        interrupts.
219
220menu "OCM Instruction Heap"
221
222config OCM_MODULES_RESERVATION
223    int "OCM Instruction heap reservation. 0-192 kB"
224    range 0 192
225    default "0"
226    help
227      The minimum amount of OCM memory to reserve for kernel loadable module
228      code. If you are not using this memory it cannot be used for anything
229      else. Leave it as 0 if you have prebuilt modules that are compiled with
230      OCM support.
231
232config OCM_MODULES_MAY_CONSUME_REMAINING_CODESPACE
233    bool "Give all unused ocm code space to the ocm instruction heap."
234    default n
235    help
236      Allow the OCM instruction heap allocation to consume any remaining
237      unused OCM code space. The result of this is that you will not have
238      and deterministic results, but you will not have any waste either.
239
240config OCM_MODULES_FALLBACK_TO_DDR
241    bool "Loadable Modules requiring OCM may fallback to use DDR."
242    default n
243    help
244      If a module cannot get the OCM code it requires allow DDR to
245      be used instead.
246endmenu
247
248config HZ
249    int "Frequency of 'jiffies' (for polling)"
250    default 1000
251    help
252        100 is common for embedded systems, but 1000 allows
253        you to do more drivers without actually having
254        interrupts working properly.
255
256comment "RAM configuration"
257
258config MIN_RAMSIZE
259    hex "Minimum Size of RAM (in bytes)"
260    range 0x01000000 0x08000000
261    default "0x02000000"
262    help
263        Define the minimum acceptable size of the system
264        RAM. Must be at least 16MB (0x01000000)
265
266comment "Build options"
267config LINKER_RELAXATION
268    bool "Linker Relaxation"
269    default y
270    help
271      Turns on linker relaxation that will produce smaller
272      faster code. Increases link time.
273
274comment "Driver options"
275menu "PCI Bus"
276config PCI
277    bool "PCI bus"
278    default true
279    help
280      Enable/Disable PCI bus
281    source "drivers/pci/Kconfig"
282
283
284config PCI_DEV0_IDSEL
285    hex "slot 0 address"
286    depends on PCI
287    default "0x01000000"
288    help
289      Slot 0 address. This address should correspond to the address line
290      which the IDSEL bit for this slot is connected to.
291
292config PCI_DEV1_IDSEL
293    hex "slot 1 address"
294    depends on PCI
295    default "0x02000000"
296    help
297      Slot 1 address. This address should correspond to the address line
298      which the IDSEL bit for this slot is connected to.
299endmenu
300# End PCI
301
302menu "Input devices"
303config UBICOM_INPUT
304    bool "Ubicom polled GPIO input driver"
305    select INPUT
306    select INPUT_POLLDEV
307    help
308        Polling input driver, much like the GPIO input driver, except that it doesn't
309        rely on interrupts. It will report events via the input subsystem.
310    default n
311
312config UBICOM_INPUT_I2C
313    bool "Ubicom polled GPIO input driver over I2C"
314    select INPUT
315    select INPUT_POLLDEV
316    help
317        Polling input driver, much like the PCA953x driver, it can support a variety of
318        different I2C I/O expanders. This device polls the I2C I/O expander for events
319        and reports them via the input subsystem.
320    default n
321endmenu
322# Input devices
323
324source "arch/ubicom32/mach-common/Kconfig.switch"
325
326menu "Misc devices"
327config UBICOM_HID
328    bool "Ubicom HID driver"
329    select INPUT
330    select INPUT_POLLDEV
331    select LCD_CLASS_DEVICE
332    help
333        Driver for HID chip found on some Ubicom reference designs. This chip handles
334        PWM, button input, and IR remote control. It registers as an input device and
335        a backlight device.
336    default n
337endmenu
338# Misc devices
339
340config CMDLINE_BOOL
341    bool "Built-in kernel command line"
342    default n
343    help
344      Allow for specifying boot arguments to the kernel at
345      build time. On some systems (e.g. embedded ones), it is
346      necessary or convenient to provide some or all of the
347      kernel boot arguments with the kernel itself (that is,
348      to not rely on the boot loader to provide them.)
349
350      To compile command line arguments into the kernel,
351      set this option to 'Y', then fill in the
352      the boot arguments in CONFIG_CMDLINE.
353
354      Systems with fully functional boot loaders (i.e. non-embedded)
355      should leave this option set to 'N'.
356
357config CMDLINE
358    string "Built-in kernel command string"
359    depends on CMDLINE_BOOL
360    default ""
361    help
362      Enter arguments here that should be compiled into the kernel
363      image and used at boot time. If the boot loader provides a
364      command line at boot time, it is appended to this string to
365      form the full kernel command line, when the system boots.
366
367      However, you can use the CONFIG_CMDLINE_OVERRIDE option to
368      change this behavior.
369
370      In most cases, the command line (whether built-in or provided
371      by the boot loader) should specify the device for the root
372      file system.
373
374config CMDLINE_OVERRIDE
375    bool "Built-in command line overrides boot loader arguments"
376    default n
377    depends on CMDLINE_BOOL
378    help
379      Set this option to 'Y' to have the kernel ignore the boot loader
380      command line, and use ONLY the built-in command line.
381
382      This is used to work around broken boot loaders. This should
383      be set to 'N' under normal conditions.
384
385endmenu
386# End Processor type and features
387
388source "arch/ubicom32/Kconfig.debug"
389
390menu "Executable file formats"
391source "fs/Kconfig.binfmt"
392endmenu
393
394source "init/Kconfig"
395source "kernel/Kconfig.preempt"
396source "kernel/time/Kconfig"
397source "mm/Kconfig"
398source "net/Kconfig"
399source "drivers/Kconfig"
400source "fs/Kconfig"
401source "security/Kconfig"
402source "crypto/Kconfig"
403source "lib/Kconfig"
404

Archive Download this file



interactive