Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.5.75 /arch/cris/Kconfig

Filename:/arch/cris/Kconfig
Lines Added:48
Lines Deleted:411
Also changed in: (Previous) 2.5.74  2.5.73-bk10  2.5.73-bk9  2.5.73-bk8  2.5.73-bk7  2.5.73-bk6 
(Following)

Location
[  2.5.75
  [  arch
    [  cris
       o  Kconfig

Patch

diff -Nru a/arch/cris/Kconfig b/arch/cris/Kconfig
--- a/arch/cris/Kconfig   Thu Jul 10 13:16:28 2003
+++ b/arch/cris/Kconfig   Thu Jul 10 13:16:28 2003
@@ -42,9 +42,9 @@
      this option is turned on!
 
 config ETRAX_WATCHDOG
-   bool "Enable Etrax100 watchdog"
+   bool "Enable ETRAX watchdog"
    help
-     Enable the built-in watchdog timer support on Etrax100 embedded
+     Enable the built-in watchdog timer support on ETRAX based embedded
      network computers.
 
 config ETRAX_WATCHDOG_NICE_DOGGY
@@ -55,6 +55,26 @@
      printing oopses. Recommended for development systems but not for
      production releases.
 
+config ETRAX_FAST_TIMER
+       bool "Enable ETRAX fast timer API"
+       help
+         This options enables the API to a fast timer implementation using
+    timer1 to get sub jiffie resolution timers (primarily one-shot 
+    timers).
+    This is needed if CONFIG_ETRAX_SERIAL_FAST_TIMER is enabled.
+
+config PREEMPT
+   bool "Preemptible Kernel"
+   help
+     This option reduces the latency of the kernel when reacting to
+     real-time or interactive events by allowing a low priority process to
+     be preempted even if it is in kernel mode executing a system call.
+     This allows applications to run more reliably even when the system is
+     under load.
+
+     Say Y here if you are building a kernel for a desktop, embedded
+     or real-time system.  Say N if you are unsure.
+
 endmenu
 
 
@@ -65,32 +85,36 @@
    default ETRAX100LX
 
 config ETRAX100LX
-   bool "Etrax-100-LX-v1"
+   bool "ETRAX-100LX-v1"
    help
-     Support version 1 of the Etrax 100LX.
+     Support version 1 of the ETRAX 100LX.
 
 config ETRAX100LX_V2
-   bool "Etrax-100-LX-v2"
+   bool "ETRAX-100LX-v2"
    help
-     Support version 2 of the Etrax 100LX.
+     Support version 2 of the ETRAX 100LX.
 
 config SVINTO_SIM
-   bool "Etrax-100-LX-for-xsim-simulator"
+   bool "ETRAX-100LX-for-xsim-simulator"
    help
      Support the xsim ETRAX Simulator.
 
+config ETRAX200LX
+   bool "ETRAX-200LX-V32"
+   help
+     Support CRIS V32.
+
 endchoice
 
-# Etrax100 LX v1 has a MMU "feature" requiring a low mapping
-config CRIS_LOW_MAP
-   bool
-   depends on ETRAX100LX
-   default y
-
-config ETRAX_DRAM_VIRTUAL_BASE
-   hex
-   default "c0000000" if !ETRAX100LX
-   default "60000000" if ETRAX100LX
+config ETRAX_ARCH_V10
+       bool
+       default y if ETRAX100LX || ETRAX100LX_V2
+       default n if !(ETRAX100LX || ETRAX100LX_V2) 
+
+config ETRAX_ARCH_V32
+       bool
+       default y if ETRAX200LX
+       default n if !(ETRAX200LX) 
 
 config ETRAX_DRAM_SIZE
    int "DRAM size (dec, in MB)"
@@ -114,404 +138,17 @@
      should normally be the mtdblock device for the partition after the
      last partition in the partition table.
 
-choice
-   prompt "Product LED port"
-   default ETRAX_PA_LEDS
-
-config ETRAX_PA_LEDS
-   bool "Port-PA-LEDs"
-   help
-     The Etrax network driver is responsible for flashing LED's when
-     packets arrive and are sent.  It uses macros defined in
-     <file:include/asm-cris/io.h>, and those macros are defined after what
-     YOU choose in this option.  The actual bits used are configured
-     separately.  Select this if the LEDs are on port PA.  Some products
-     put the leds on PB or a memory-mapped latch (CSP0) instead.
-
-config ETRAX_PB_LEDS
-   bool "Port-PB-LEDs"
-   help
-     The Etrax network driver is responsible for flashing LED's when
-     packets arrive and are sent.  It uses macros defined in
-     <file:include/asm-cris/io.h>, and those macros are defined after what
-     YOU choose in this option.  The actual bits used are configured
-     separately.  Select this if the LEDs are on port PB.  Some products
-     put the leds on PA or a memory-mapped latch (CSP0) instead.
-
-config ETRAX_CSP0_LEDS
-   bool "Port-CSP0-LEDs"
-   help
-     The Etrax network driver is responsible for flashing LED's when
-     packets arrive and are sent. It uses macros defined in
-     <file:include/asm-cris/io.h>, and those macros are defined after what
-     YOU choose in this option.  The actual bits used are configured
-     separately.  Select this if the LEDs are on a memory-mapped latch
-     using chip select CSP0, this is mapped at 0x90000000.
-     Some products put the leds on PA or PB instead.
-
-config ETRAX_NO_LEDS
-   bool "None"
-   help
-     Select this option if you don't have any LED at all.
-
-endchoice
-
-config ETRAX_LED1G
-   int "First green LED bit"
-   depends on !ETRAX_NO_LEDS
-   default "2"
-   help
-     Bit to use for the first green LED.
-     Most Axis products use bit 2 here.
-
-config ETRAX_LED1R
-   int "First red LED bit"
-   depends on !ETRAX_NO_LEDS
-   default "3"
-   help
-     Bit to use for the first red LED.
-     Most Axis products use bit 3 here.
-     For products with only one controllable LED,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED2G
-   int "Second green LED bit"
-   depends on !ETRAX_NO_LEDS
-   default "4"
-   help
-     Bit to use for the second green LED. The "Active" LED.
-     Most Axis products use bit 4 here.
-     For products with only one controllable LED,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED2R
-   int "Second red LED bit"
-   depends on !ETRAX_NO_LEDS
-   default "5"
-   help
-     Bit to use for the second red LED.
-     Most Axis products use bit 5 here.
-     For products with only one controllable LED,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED3G
-   int "Third green LED bit"
-   depends on !ETRAX_NO_LEDS
-   default "2"
-   help
-     Bit to use for the third green LED. The "Drive" LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED3R
-   int "Third red LED bit"
-   depends on !ETRAX_NO_LEDS
-   default "2"
-   help
-     Bit to use for the third red LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED4R
-   int "Fourth red LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the fourth red LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED4G
-   int "Fourth green LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the fourth green LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED5R
-   int "Fifth red LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the fifth red LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED5G
-   int "Fifth green LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the fifth green LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED6R
-   int "Sixth red LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the sixth red LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED6G
-   int "Sixth green LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the sixth green LED. The "Drive" LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED7R
-   int "Seventh red LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the seventh red LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED7G
-   int "Seventh green LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the seventh green LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED8Y
-   int "Eigth yellow LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the eighth yellow LED. The "Drive" LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED9Y
-   int "Ninth yellow LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the ninth yellow LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED10Y
-   int "Tenth yellow LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the tenth yellow LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED11Y
-   int "Eleventh yellow LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the eleventh yellow LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-config ETRAX_LED12R
-   int "Twelfth red LED bit"
-   depends on ETRAX_CSP0_LEDS
-   default "2"
-   help
-     Bit to use for the twelfth red LED.
-     For products with only one or two controllable LEDs,
-     set this to same as CONFIG_ETRAX_LED1G (normally 2).
-
-choice
-   prompt "Product debug-port"
-   default ETRAX_DEBUG_PORT0
-
-config ETRAX_DEBUG_PORT0
-   bool "Serial-0"
-   help
-     Choose a serial port for the ETRAX debug console.  Default to
-     port 0.
-
-config ETRAX_DEBUG_PORT1
-   bool "Serial-1"
-   help
-     Use serial port 1 for the console.
-
-config ETRAX_DEBUG_PORT2
-   bool "Serial-2"
-   help
-     Use serial port 2 for the console.
-
-config ETRAX_DEBUG_PORT3
-   bool "Serial-3"
-   help
-     Use serial port 3 for the console.
-
-config ETRAX_DEBUG_PORT_NULL
-   bool "disabled"
-   help
-     Disable serial-port debugging.
-
-endchoice
-
-choice
-   prompt "Product rescue-port"
-   default ETRAX_RESCUE_SER0
-
-config ETRAX_RESCUE_SER0
-   bool "Serial-0"
-   help
-     Select one of the four serial ports as a rescue port.  The default
-     is port 0.
-
-config ETRAX_RESCUE_SER1
-   bool "Serial-1"
-   help
-     Use serial port 1 as the rescue port.
-
-config ETRAX_RESCUE_SER2
-   bool "Serial-2"
-   help
-     Use serial port 2 as the rescue port.
-
-config ETRAX_RESCUE_SER3
-   bool "Serial-3"
-   help
-     Use serial port 3 as the rescue port.
-
-endchoice
+# duplicate choice configs are not yet supported, so the followinguse 
+# doesn't work:
 
-config ETRAX_DEF_R_WAITSTATES
-   hex "R_WAITSTATES"
-   default "95a6"
-   help
-     Waitstates for SRAM, Flash and peripherials (not DRAM).  95f8 is a
-     good choice for most Axis products...
+source arch/cris/arch-v10/Kconfig
 
-config ETRAX_DEF_R_BUS_CONFIG
-   hex "R_BUS_CONFIG"
-   default "104"
-   help
-     Assorted bits controlling write mode, DMA burst length etc.  104 is
-     a good choice for most Axis products...
-
-config ETRAX_SDRAM
-   bool "SDRAM support"
-   help
-     Enable this if you use SDRAM chips and configure
-     R_SDRAM_CONFIG and R_SDRAM_TIMING as well.
-
-config ETRAX_DEF_R_DRAM_CONFIG
-   hex "R_DRAM_CONFIG"
-   depends on !ETRAX_SDRAM
-   default "1a200040"
-   help
-     The R_DRAM_CONFIG register specifies everything on how the DRAM
-     chips in the system are connected to the Etrax CPU.  This is
-     different depending on the manufacturer, chip type and number of
-     chips.  So this value often needs to be different for each Axis
-     product.
-
-config ETRAX_DEF_R_DRAM_TIMING
-   hex "R_DRAM_TIMING"
-   depends on !ETRAX_SDRAM
-   default "5611"
-   help
-     Different DRAM chips have different speeds.  Current Axis products
-     use 50ns DRAM chips which can use the timing: 5611.
-
-config ETRAX_DEF_R_SDRAM_CONFIG
-   hex "R_SDRAM_CONFIG"
-   depends on ETRAX_SDRAM
-   default "d2fa7878"
-   help
-     The R_SDRAM_CONFIG register specifies everything on how the SDRAM
-     chips in the system are connected to the Etrax CPU.  This is
-     different depending on the manufacturer, chip type and number of
-     chips.  So this value often needs to be different for each Axis
-     product.
-
-config ETRAX_DEF_R_SDRAM_TIMING
-   hex "R_SDRAM_TIMING"
-   depends on ETRAX_SDRAM
-   default "80004801"
-   help
-     Different SDRAM chips have different timing.
-
-config ETRAX_DEF_R_PORT_PA_DIR
-   hex "R_PORT_PA_DIR"
-   default "1c"
-   help
-     Configures the direction of general port A bits.  1 is out, 0 is in.
-     This is often totally different depending on the product used.
-     There are some guidelines though - if you know that only LED's are
-     connected to port PA, then they are usually connected to bits 2-4
-     and you can therefore use 1c.  On other boards which don't have the
-     LED's at the general ports, these bits are used for all kinds of
-     stuff.  If you don't know what to use, it is always safe to put all
-     as inputs, although floating inputs isn't good.
-
-config ETRAX_DEF_R_PORT_PA_DATA
-   hex "R_PORT_PA_DATA"
-   default "00"
-   help
-     Configures the initial data for the general port A bits.  Most
-     products should use 00 here.
-
-config ETRAX_DEF_R_PORT_PB_CONFIG
-   hex "R_PORT_PB_CONFIG"
-   default "00"
-   help
-     Configures the type of the general port B bits.  1 is chip select,
-     0 is port.  Most products should use 00 here.
-
-config ETRAX_DEF_R_PORT_PB_DIR
-   hex "R_PORT_PB_DIR"
-   default "00"
-   help
-     Configures the direction of general port B bits. 1 is out, 0 is in.
-     This is often totally different depending on the product used.  Bits
-     0 and 1 on port PB are usually used for I2C communication, but the
-     kernel I2C driver sets the appropriate directions itself so you
-     don't need to take that into consideration when setting this option.
-     If you don't know what to use, it is always safe to put all as
-     inputs.
-
-config ETRAX_DEF_R_PORT_PB_DATA
-   hex "R_PORT_PB_DATA"
-   default "ff"
-   help
-     Configures the initial data for the general port A bits.  Most
-     products should use FF here.
+endmenu
 
-config ETRAX_SOFT_SHUTDOWN
-   bool "Software Shutdown Support"
-   help
-     Enable this if Etrax is used with a power-supply that can be turned
-     off and on with PS_ON signal. Gives the possibility to detect
-     powerbutton and then do a power off after unmounting disks.
-
-config ETRAX_SHUTDOWN_BIT
-   int "Shutdown bit on port CSP0"
-   depends on ETRAX_SOFT_SHUTDOWN
-   default "12"
-   help
-     Configure what pin on CSPO-port that is used for controlling power
-     supply.
+# bring in ETRAX built-in drivers
+menu "Drivers for built-in interfaces"
 
-config ETRAX_POWERBUTTON_BIT
-   int "Power button bit on port G"
-   depends on ETRAX_SOFT_SHUTDOWN
-   default "25"
-   help
-     Configure where power button is connected.
+source arch/cris/arch-v10/drivers/Kconfig
 
 endmenu
 


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.