1#
2# For a description of the syntax of this configuration file,
3# see the Configure script.
4#
5
6mainmenu "Linux/CRIS Kernel Configuration"
7
8config MMU
9	bool
10	default y
11
12config ZONE_DMA
13	bool
14	default y
15
16config RWSEM_GENERIC_SPINLOCK
17	bool
18	default y
19
20config RWSEM_XCHGADD_ALGORITHM
21	bool
22
23config ARCH_HAS_ILOG2_U32
24	bool
25	default n
26
27config ARCH_HAS_ILOG2_U64
28	bool
29	default n
30
31config GENERIC_FIND_NEXT_BIT
32	bool
33	default y
34
35config GENERIC_HWEIGHT
36	bool
37	default y
38
39config GENERIC_CALIBRATE_DELAY
40	bool
41	default y
42
43config IRQ_PER_CPU
44	bool
45	default y
46
47config NO_IOPORT
48	def_bool y
49
50config CRIS
51	bool
52	default y
53
54source "init/Kconfig"
55
56menu "General setup"
57
58source "fs/Kconfig.binfmt"
59
60config ETRAX_CMDLINE
61	string "Kernel command line"
62	default "root=/dev/mtdblock3"
63	help
64	  Pass additional commands to the kernel.
65
66config ETRAX_WATCHDOG
67	bool "Enable ETRAX watchdog"
68	help
69	  Enable the built-in watchdog timer support on ETRAX based embedded
70	  network computers.
71
72config ETRAX_WATCHDOG_NICE_DOGGY
73	bool "Disable watchdog during Oops printouts"
74	depends on ETRAX_WATCHDOG
75	help
76	  By enabling this you make sure that the watchdog does not bite while
77	  printing oopses. Recommended for development systems but not for
78	  production releases.
79
80config ETRAX_FAST_TIMER
81       bool "Enable ETRAX fast timer API"
82       help
83         This options enables the API to a fast timer implementation using
84	 timer1 to get sub jiffie resolution timers (primarily one-shot
85	 timers).
86	 This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
87
88config PREEMPT
89	bool "Preemptible Kernel"
90	help
91	  This option reduces the latency of the kernel when reacting to
92	  real-time or interactive events by allowing a low priority process to
93	  be preempted even if it is in kernel mode executing a system call.
94	  This allows applications to run more reliably even when the system is
95	  under load.
96
97	  Say Y here if you are building a kernel for a desktop, embedded
98	  or real-time system.  Say N if you are unsure.
99
100source mm/Kconfig
101
102endmenu
103
104menu "Hardware setup"
105
106choice
107	prompt "Processor type"
108	default ETRAX100LX
109
110config ETRAX100LX
111	bool "ETRAX-100LX-v1"
112	help
113	  Support version 1 of the ETRAX 100LX.
114
115config ETRAX100LX_V2
116	bool "ETRAX-100LX-v2"
117	help
118	  Support version 2 of the ETRAX 100LX.
119
120config SVINTO_SIM
121	bool "ETRAX-100LX-for-xsim-simulator"
122	help
123	  Support the xsim ETRAX Simulator.
124
125endchoice
126
127config ETRAX_ARCH_V10
128       bool
129       default y if ETRAX100LX || ETRAX100LX_V2
130       default n if !(ETRAX100LX || ETRAX100LX_V2)
131
132config ETRAX_DRAM_SIZE
133	int "DRAM size (dec, in MB)"
134	default "8"
135	help
136	  Size of DRAM (decimal in MB) typically 2, 8 or 16.
137
138config ETRAX_FLASH_BUSWIDTH
139	int "Buswidth of flash in bytes"
140	default "2"
141	help
142	  Width in bytes of the Flash bus (1, 2 or 4). Is usually 2.
143
144source arch/cris/arch-v10/Kconfig
145
146endmenu
147
148source "net/Kconfig"
149
150# bring in ETRAX built-in drivers
151menu "Drivers for built-in interfaces"
152source arch/cris/arch-v10/drivers/Kconfig
153
154endmenu
155
156source "drivers/base/Kconfig"
157
158# standard linux drivers
159source "drivers/mtd/Kconfig"
160
161source "drivers/parport/Kconfig"
162
163source "drivers/pnp/Kconfig"
164
165source "drivers/block/Kconfig"
166
167source "drivers/md/Kconfig"
168
169source "drivers/ide/Kconfig"
170
171source "drivers/scsi/Kconfig"
172
173source "drivers/ieee1394/Kconfig"
174
175source "drivers/message/i2o/Kconfig"
176
177source "drivers/net/Kconfig"
178
179source "drivers/isdn/Kconfig"
180
181source "drivers/telephony/Kconfig"
182
183source "drivers/cdrom/Kconfig"
184
185#
186# input before char - char/joystick depends on it. As does USB.
187#
188source "drivers/input/Kconfig"
189
190source "drivers/char/Kconfig"
191
192#source drivers/misc/Config.in
193source "drivers/media/Kconfig"
194
195source "fs/Kconfig"
196
197source "sound/Kconfig"
198
199source "drivers/usb/Kconfig"
200
201source "arch/cris/Kconfig.debug"
202
203source "security/Kconfig"
204
205source "crypto/Kconfig"
206
207source "lib/Kconfig"
208