diff options
author | Jesper Nilsson <jesper.nilsson@axis.com> | 2007-12-05 12:10:36 -0500 |
---|---|---|
committer | Jesper Nilsson <jesper.nilsson@axis.com> | 2008-02-08 05:06:22 -0500 |
commit | 923dd2a46349bb1bb94aa894b7ff61093618d68a (patch) | |
tree | b27462e645d8f05fb30449ccb956a4adaa5eee04 /arch/cris/arch-v10/Kconfig | |
parent | a4ffc0a0b240a29cbe489f6db9dae112a49ef1c1 (diff) |
CRIS: Rearrange Kconfigs for v10 and v32 to allow compilation without warnings.
- Remove some unneeded configs and add some new ones.
- Merge common config items to common file instead of duplicating them.
- Pull in standard Kconfig.preempt.
- Remove some unneeded Kconfigs for subsystems not (yet) available on CRIS
(md, scsi, ieee1394, i2o, isdn, telephony, media, pcmcia, pci)
- Rename CRISv32 config items which had different types from CRISv10.
(ETRAX_LED2G, ETRAX_LED2R, ETRAX_LED3G, ETRAX_LED3R, ETRAX_I2C_DATA_PORT,
ETRAX_I2C_CLK_PORT)
Diffstat (limited to 'arch/cris/arch-v10/Kconfig')
-rw-r--r-- | arch/cris/arch-v10/Kconfig | 67 |
1 files changed, 4 insertions, 63 deletions
diff --git a/arch/cris/arch-v10/Kconfig b/arch/cris/arch-v10/Kconfig index 1d61faec77cd..adc164e99339 100644 --- a/arch/cris/arch-v10/Kconfig +++ b/arch/cris/arch-v10/Kconfig | |||
@@ -1,5 +1,7 @@ | |||
1 | if ETRAX_ARCH_V10 | 1 | if ETRAX_ARCH_V10 |
2 | 2 | ||
3 | menu "CRIS v10 options" | ||
4 | |||
3 | # ETRAX 100LX v1 has a MMU "feature" requiring a low mapping | 5 | # ETRAX 100LX v1 has a MMU "feature" requiring a low mapping |
4 | config CRIS_LOW_MAP | 6 | config CRIS_LOW_MAP |
5 | bool | 7 | bool |
@@ -228,69 +230,6 @@ config ETRAX_LED12R | |||
228 | For products with only one or two controllable LEDs, | 230 | For products with only one or two controllable LEDs, |
229 | set this to same as CONFIG_ETRAX_LED1G (normally 2). | 231 | set this to same as CONFIG_ETRAX_LED1G (normally 2). |
230 | 232 | ||
231 | choice | ||
232 | prompt "Product debug-port" | ||
233 | depends on ETRAX_ARCH_V10 | ||
234 | default ETRAX_DEBUG_PORT0 | ||
235 | |||
236 | config ETRAX_DEBUG_PORT0 | ||
237 | bool "Serial-0" | ||
238 | help | ||
239 | Choose a serial port for the ETRAX debug console. Default to | ||
240 | port 0. | ||
241 | |||
242 | config ETRAX_DEBUG_PORT1 | ||
243 | bool "Serial-1" | ||
244 | help | ||
245 | Use serial port 1 for the console. | ||
246 | |||
247 | config ETRAX_DEBUG_PORT2 | ||
248 | bool "Serial-2" | ||
249 | help | ||
250 | Use serial port 2 for the console. | ||
251 | |||
252 | config ETRAX_DEBUG_PORT3 | ||
253 | bool "Serial-3" | ||
254 | help | ||
255 | Use serial port 3 for the console. | ||
256 | |||
257 | config ETRAX_DEBUG_PORT_NULL | ||
258 | bool "disabled" | ||
259 | help | ||
260 | Disable serial-port debugging. | ||
261 | |||
262 | endchoice | ||
263 | |||
264 | choice | ||
265 | prompt "Kernel GDB port" | ||
266 | depends on ETRAX_KGDB | ||
267 | default ETRAX_KGDB_PORT0 | ||
268 | help | ||
269 | Choose a serial port for kernel debugging. NOTE: This port should | ||
270 | not be enabled under Drivers for built-in interfaces (as it has its | ||
271 | own initialization code) and should not be the same as the debug port. | ||
272 | |||
273 | config ETRAX_KGDB_PORT0 | ||
274 | bool "Serial-0" | ||
275 | help | ||
276 | Use serial port 0 for kernel debugging. | ||
277 | |||
278 | config ETRAX_KGDB_PORT1 | ||
279 | bool "Serial-1" | ||
280 | help | ||
281 | Use serial port 1 for kernel debugging. | ||
282 | |||
283 | config ETRAX_KGDB_PORT2 | ||
284 | bool "Serial-2" | ||
285 | help | ||
286 | Use serial port 2 for kernel debugging. | ||
287 | |||
288 | config ETRAX_KGDB_PORT3 | ||
289 | bool "Serial-3" | ||
290 | help | ||
291 | Use serial port 3 for kernel debugging. | ||
292 | |||
293 | endchoice | ||
294 | 233 | ||
295 | choice | 234 | choice |
296 | prompt "Product rescue-port" | 235 | prompt "Product rescue-port" |
@@ -454,4 +393,6 @@ config ETRAX_POWERBUTTON_BIT | |||
454 | help | 393 | help |
455 | Configure where power button is connected. | 394 | Configure where power button is connected. |
456 | 395 | ||
396 | endmenu | ||
397 | |||
457 | endif | 398 | endif |