2 # For a description of the syntax of this configuration file,
3 # see the Configure script.
5 mainmenu_name "Linux/CRIS Kernel Configuration"
7 define_bool CONFIG_UID16 y
8 define_bool CONFIG_RWSEM_GENERIC_SPINLOCK y
9 define_bool CONFIG_RWSEM_XCHGADD_ALGORITHM n
11 mainmenu_option next_comment
12 comment 'Code maturity level options'
13 bool 'Prompt for development and/or incomplete code/drivers' CONFIG_EXPERIMENTAL
16 mainmenu_option next_comment
17 comment 'Loadable module support'
18 bool 'Enable loadable module support' CONFIG_MODULES
19 if [ "$CONFIG_MODULES" = "y" ]; then
20 bool ' Set version information on all module symbols' CONFIG_MODVERSIONS
21 bool ' Kernel module loader' CONFIG_KMOD
25 mainmenu_option next_comment
26 comment 'General setup'
28 bool 'Networking support' CONFIG_NET
29 bool 'System V IPC' CONFIG_SYSVIPC
30 bool 'BSD Process Accounting' CONFIG_BSD_PROCESS_ACCT
31 bool 'Sysctl support' CONFIG_SYSCTL
33 bool 'Kernel support for ELF binaries' CONFIG_BINFMT_ELF
35 string 'Kernel command line' CONFIG_ETRAX_CMDLINE "root=/dev/mtdblock3"
37 bool 'Use kernel gdb debugger' CONFIG_ETRAX_KGDB
39 bool 'Use Artpec gdb debugger' CONFIG_ETRAX_AGDB
41 bool 'Enable ETRAX watchdog' CONFIG_ETRAX_WATCHDOG
42 if [ "$CONFIG_ETRAX_WATCHDOG" = "y" ]; then
43 bool ' Disable watchdog during Oops printouts' CONFIG_ETRAX_WATCHDOG_NICE_DOGGY
46 bool 'Enable ETRAX interrupt debugging' CONFIG_ETRAX_DEBUG_INTERRUPT
48 bool 'Enable ETRAX fast timer API' CONFIG_ETRAX_FAST_TIMER
49 if [ "$CONFIG_ETRAX_FAST_TIMER" = "y" ]; then
50 bool ' Enable fast timer logging' CONFIG_ETRAX_FAST_TIMER_LOGGING
51 bool ' Enable fast timer debug' CONFIG_ETRAX_FAST_TIMER_DEBUG
52 bool ' Enable fast timer sanity checks' CONFIG_ETRAX_FAST_TIMER_SANITY_CHECKS
55 bool 'Enable reboot at out of memory' CONFIG_OOM_REBOOT
59 mainmenu_option next_comment
60 comment 'Hardware setup'
62 choice 'Processor type' \
63 "Etrax-100-LX-v1 CONFIG_ETRAX100LX \
64 Etrax-100-LX-v2 CONFIG_ETRAX100LX_V2 \
65 Etrax-100-LX-for-xsim-simulator CONFIG_SVINTO_SIM" Etrax-100-LX-v1
67 # ETRAX 100LX v1 has a MMU "feature" requiring a low mapping
69 if [ "$CONFIG_ETRAX100LX" = "y" ]; then
70 define_bool CONFIG_CRIS_LOW_MAP y
71 define_hex CONFIG_ETRAX_DRAM_VIRTUAL_BASE 60000000
73 define_hex CONFIG_ETRAX_DRAM_VIRTUAL_BASE c0000000
76 int 'DRAM size (dec, in MB)' CONFIG_ETRAX_DRAM_SIZE 8
78 int 'Buswidth of flash in bytes' CONFIG_ETRAX_FLASH_BUSWIDTH 2
80 choice 'Product LED port' \
81 "Port-PA-LEDs CONFIG_ETRAX_PA_LEDS \
82 Port-PB-LEDs CONFIG_ETRAX_PB_LEDS \
83 Port-CSP0-LEDs CONFIG_ETRAX_CSP0_LEDS \
84 None CONFIG_ETRAX_NO_LEDS" Port-PA-LEDs
86 if [ "$CONFIG_ETRAX_NO_LEDS" != "y" ]; then
87 int ' First green LED bit' CONFIG_ETRAX_LED1G 2
88 int ' First red LED bit' CONFIG_ETRAX_LED1R 3
89 int ' Second green LED bit' CONFIG_ETRAX_LED2G 4
90 int ' Second red LED bit' CONFIG_ETRAX_LED2R 5
91 int ' Third green LED bit' CONFIG_ETRAX_LED3G 2
92 int ' Third red LED bit' CONFIG_ETRAX_LED3R 2
95 if [ "$CONFIG_ETRAX_CSP0_LEDS" = "y" ]; then
96 int ' Fourth red LED bit' CONFIG_ETRAX_LED4R 2
97 int ' Fourth green LED bit' CONFIG_ETRAX_LED4G 2
98 int ' Fifth red LED bit' CONFIG_ETRAX_LED5R 2
99 int ' Fifth green LED bit' CONFIG_ETRAX_LED5G 2
100 int ' Sixth red LED bit' CONFIG_ETRAX_LED6R 2
101 int ' Sixth green LED bit' CONFIG_ETRAX_LED6G 2
102 int ' Seventh red LED bit' CONFIG_ETRAX_LED7R 2
103 int ' Seventh green LED bit' CONFIG_ETRAX_LED7G 2
104 int ' Eigth yellow LED bit' CONFIG_ETRAX_LED8Y 2
105 int ' Ninth yellow LED bit' CONFIG_ETRAX_LED9Y 2
106 int ' Tenth yellow LED bit' CONFIG_ETRAX_LED10Y 2
107 int ' Eleventh yellow LED bit' CONFIG_ETRAX_LED11Y 2
108 int ' Twelfth red LED bit' CONFIG_ETRAX_LED12R 2
111 choice 'Product debug-port' \
112 "Serial-0 CONFIG_ETRAX_DEBUG_PORT0 \
113 Serial-1 CONFIG_ETRAX_DEBUG_PORT1 \
114 Serial-2 CONFIG_ETRAX_DEBUG_PORT2 \
115 Serial-3 CONFIG_ETRAX_DEBUG_PORT3 \
116 disabled CONFIG_ETRAX_DEBUG_PORT_NULL" Serial-0
118 choice 'Product rescue-port' \
119 "Serial-0 CONFIG_ETRAX_RESCUE_SER0 \
120 Serial-1 CONFIG_ETRAX_RESCUE_SER1 \
121 Serial-2 CONFIG_ETRAX_RESCUE_SER2 \
122 Serial-3 CONFIG_ETRAX_RESCUE_SER3" Serial-0
124 hex 'R_WAITSTATES' CONFIG_ETRAX_DEF_R_WAITSTATES 95a6
125 hex 'R_BUS_CONFIG' CONFIG_ETRAX_DEF_R_BUS_CONFIG 104
127 bool 'SDRAM support' CONFIG_ETRAX_SDRAM
128 if [ "$CONFIG_ETRAX_SDRAM" = "n" ]; then
129 hex ' R_DRAM_CONFIG' CONFIG_ETRAX_DEF_R_DRAM_CONFIG 1a200040
130 hex ' R_DRAM_TIMING' CONFIG_ETRAX_DEF_R_DRAM_TIMING 5611
133 if [ "$CONFIG_ETRAX_SDRAM" = "y" ]; then
134 hex ' R_SDRAM_CONFIG' CONFIG_ETRAX_DEF_R_SDRAM_CONFIG d2fa7878
135 hex ' R_SDRAM_TIMING' CONFIG_ETRAX_DEF_R_SDRAM_TIMING 80004801
138 hex 'R_PORT_PA_DIR' CONFIG_ETRAX_DEF_R_PORT_PA_DIR 1c
139 hex 'R_PORT_PA_DATA' CONFIG_ETRAX_DEF_R_PORT_PA_DATA 00
140 hex 'R_PORT_PB_CONFIG' CONFIG_ETRAX_DEF_R_PORT_PB_CONFIG 00
141 hex 'R_PORT_PB_DIR' CONFIG_ETRAX_DEF_R_PORT_PB_DIR 00
142 hex 'R_PORT_PB_DATA' CONFIG_ETRAX_DEF_R_PORT_PB_DATA ff
144 bool 'Software Shutdown Support' CONFIG_ETRAX_SOFT_SHUTDOWN
145 if [ "$CONFIG_ETRAX_SOFT_SHUTDOWN" = "y" ]; then
146 int ' Shutdown bit on port CSP0' CONFIG_ETRAX_SHUTDOWN_BIT 12
147 int ' Power button bit on port G' CONFIG_ETRAX_POWERBUTTON_BIT 25
152 # bring in ETRAX built-in drivers
154 source arch/cris/drivers/Config.in
156 # standard linux drivers
158 source drivers/mtd/Config.in
160 source drivers/parport/Config.in
162 source drivers/pnp/Config.in
164 source drivers/block/Config.in
166 source drivers/md/Config.in
168 source drivers/pcmcia/Config.in
169 if [ "$CONFIG_PCMCIA" != "n" ]; then
170 define_bool CONFIG_VIRTUAL_BUS y
173 if [ "$CONFIG_NET" = "y" ]; then
177 source drivers/telephony/Config.in
179 mainmenu_option next_comment
180 comment 'ATA/IDE/MFM/RLL support'
182 tristate 'ATA/IDE/MFM/RLL support' CONFIG_IDE
184 if [ "$CONFIG_IDE" != "n" ]; then
185 source drivers/ide/Config.in
187 define_bool CONFIG_BLK_DEV_HD n
191 mainmenu_option next_comment
192 comment 'SCSI support'
194 tristate 'SCSI support' CONFIG_SCSI
196 if [ "$CONFIG_SCSI" != "n" ]; then
197 source drivers/scsi/Config.in
201 source drivers/ieee1394/Config.in
203 source drivers/message/i2o/Config.in
205 if [ "$CONFIG_NET" = "y" ]; then
206 mainmenu_option next_comment
207 comment 'Network device support'
209 bool 'Network device support' CONFIG_NETDEVICES
210 if [ "$CONFIG_NETDEVICES" = "y" ]; then
211 source drivers/net/Config.in
212 if [ "$CONFIG_ATM" = "y" -o "$CONFIG_ATM" = "m" ]; then
213 source drivers/atm/Config.in
219 source net/ax25/Config.in
221 source net/irda/Config.in
223 mainmenu_option next_comment
224 comment 'ISDN subsystem'
225 if [ "$CONFIG_NET" != "n" ]; then
226 tristate 'ISDN support' CONFIG_ISDN
227 if [ "$CONFIG_ISDN" != "n" ]; then
228 source drivers/isdn/Config.in
233 mainmenu_option next_comment
234 comment 'Old CD-ROM drivers (not SCSI, not IDE)'
236 bool 'Support non-SCSI/IDE/ATAPI CDROM drives' CONFIG_CD_NO_IDESCSI
237 if [ "$CONFIG_CD_NO_IDESCSI" != "n" ]; then
238 source drivers/cdrom/Config.in
243 # input before char - char/joystick depends on it. As does USB.
245 source drivers/input/Config.in
246 source drivers/char/Config.in
248 #source drivers/misc/Config.in
250 source drivers/media/Config.in
254 mainmenu_option next_comment
257 tristate 'Sound card support' CONFIG_SOUND
258 if [ "$CONFIG_SOUND" != "n" ]; then
259 source drivers/sound/Config.in
263 source drivers/usb/Config.in
265 mainmenu_option next_comment
266 comment 'Kernel hacking'
268 #bool 'Debug kmalloc/kfree' CONFIG_DEBUG_MALLOC
269 bool 'Kernel profiling support' CONFIG_PROFILE
270 if [ "$CONFIG_PROFILE" = "y" ]; then
271 int ' Profile shift count' CONFIG_PROFILE_SHIFT 2
274 int 'Kernel messages buffer length shift (0 = default)' CONFIG_LOG_BUF_SHIFT 0
276 source crypto/Config.in