linux/arch/xtensa/Kconfig
<<
>>
Prefs
   1config FRAME_POINTER
   2        def_bool n
   3
   4config ZONE_DMA
   5        def_bool y
   6
   7config XTENSA
   8        def_bool y
   9        select HAVE_IDE
  10        select GENERIC_ATOMIC64
  11        select HAVE_GENERIC_HARDIRQS
  12        select GENERIC_IRQ_SHOW
  13        select GENERIC_CPU_DEVICES
  14        help
  15          Xtensa processors are 32-bit RISC machines designed by Tensilica
  16          primarily for embedded systems.  These processors are both
  17          configurable and extensible.  The Linux port to the Xtensa
  18          architecture supports all processor configurations and extensions,
  19          with reasonable minimum requirements.  The Xtensa Linux project has
  20          a home page at <http://xtensa.sourceforge.net/>.
  21
  22config RWSEM_XCHGADD_ALGORITHM
  23        def_bool y
  24
  25config GENERIC_HWEIGHT
  26        def_bool y
  27
  28config GENERIC_GPIO
  29        def_bool y
  30
  31config ARCH_HAS_ILOG2_U32
  32        def_bool n
  33
  34config ARCH_HAS_ILOG2_U64
  35        def_bool n
  36
  37config NO_IOPORT
  38        def_bool y
  39
  40config HZ
  41        int
  42        default 100
  43
  44source "init/Kconfig"
  45source "kernel/Kconfig.freezer"
  46
  47config MMU
  48        def_bool n
  49
  50config VARIANT_IRQ_SWITCH
  51        def_bool n
  52
  53menu "Processor type and features"
  54
  55choice
  56        prompt "Xtensa Processor Configuration"
  57        default XTENSA_VARIANT_FSF
  58
  59config XTENSA_VARIANT_FSF
  60        bool "fsf - default (not generic) configuration"
  61        select MMU
  62
  63config XTENSA_VARIANT_DC232B
  64        bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
  65        select MMU
  66        help
  67          This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
  68
  69config XTENSA_VARIANT_S6000
  70        bool "s6000 - Stretch software configurable processor"
  71        select VARIANT_IRQ_SWITCH
  72        select ARCH_REQUIRE_GPIOLIB
  73        select XTENSA_CALIBRATE_CCOUNT
  74endchoice
  75
  76config XTENSA_UNALIGNED_USER
  77        bool "Unaligned memory access in use space"
  78        help
  79          The Xtensa architecture currently does not handle unaligned
  80          memory accesses in hardware but through an exception handler.
  81          Per default, unaligned memory accesses are disabled in user space.
  82
  83          Say Y here to enable unaligned memory access in user space.
  84
  85source "kernel/Kconfig.preempt"
  86
  87config MATH_EMULATION
  88        bool "Math emulation"
  89        help
  90        Can we use information of configuration file?
  91
  92endmenu
  93
  94config XTENSA_CALIBRATE_CCOUNT
  95        def_bool n
  96        help
  97          On some platforms (XT2000, for example), the CPU clock rate can
  98          vary.  The frequency can be determined, however, by measuring
  99          against a well known, fixed frequency, such as an UART oscillator.
 100
 101config SERIAL_CONSOLE
 102        def_bool n
 103
 104config XTENSA_ISS_NETWORK
 105        def_bool n
 106
 107menu "Bus options"
 108
 109config PCI
 110        bool "PCI support"
 111        default y
 112        help
 113          Find out whether you have a PCI motherboard. PCI is the name of a
 114          bus system, i.e. the way the CPU talks to the other stuff inside
 115          your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
 116          VESA. If you have PCI, say Y, otherwise N.
 117
 118source "drivers/pci/Kconfig"
 119
 120endmenu
 121
 122menu "Platform options"
 123
 124choice
 125        prompt "Xtensa System Type"
 126        default XTENSA_PLATFORM_ISS
 127
 128config XTENSA_PLATFORM_ISS
 129        bool "ISS"
 130        select XTENSA_CALIBRATE_CCOUNT
 131        select SERIAL_CONSOLE
 132        select XTENSA_ISS_NETWORK
 133        help
 134          ISS is an acronym for Tensilica's Instruction Set Simulator.
 135
 136config XTENSA_PLATFORM_XT2000
 137        bool "XT2000"
 138        help
 139          XT2000 is the name of Tensilica's feature-rich emulation platform.
 140          This hardware is capable of running a full Linux distribution.
 141
 142config XTENSA_PLATFORM_S6105
 143        bool "S6105"
 144        select SERIAL_CONSOLE
 145
 146endchoice
 147
 148
 149config XTENSA_CPU_CLOCK
 150        int "CPU clock rate [MHz]"
 151        depends on !XTENSA_CALIBRATE_CCOUNT
 152        default 16
 153
 154config GENERIC_CALIBRATE_DELAY
 155        bool "Auto calibration of the BogoMIPS value"
 156        help
 157          The BogoMIPS value can easily be derived from the CPU frequency.
 158
 159config CMDLINE_BOOL
 160        bool "Default bootloader kernel arguments"
 161
 162config CMDLINE
 163        string "Initial kernel command string"
 164        depends on CMDLINE_BOOL
 165        default "console=ttyS0,38400 root=/dev/ram"
 166        help
 167          On some architectures (EBSA110 and CATS), there is currently no way
 168          for the boot loader to pass arguments to the kernel. For these
 169          architectures, you should supply some command-line options at build
 170          time by entering them here. As a minimum, you should specify the
 171          memory size and the root device (e.g., mem=64M root=/dev/nfs).
 172
 173source "mm/Kconfig"
 174
 175config HOTPLUG
 176        bool "Support for hot-pluggable devices"
 177        help
 178          Say Y here if you want to plug devices into your computer while
 179          the system is running, and be able to use them quickly.  In many
 180          cases, the devices can likewise be unplugged at any time too.
 181
 182          One well known example of this is PCMCIA- or PC-cards, credit-card
 183          size devices such as network cards, modems or hard drives which are
 184          plugged into slots found on all modern laptop computers.  Another
 185          example, used on modern desktops as well as laptops, is USB.
 186
 187          Enable HOTPLUG and build a modular kernel.  Get agent software
 188          (from <http://linux-hotplug.sourceforge.net/>) and install it.
 189          Then your kernel will automatically call out to a user mode "policy
 190          agent" (/sbin/hotplug) to load modules and set up software needed
 191          to use devices as you hotplug them.
 192
 193source "drivers/pcmcia/Kconfig"
 194
 195source "drivers/pci/hotplug/Kconfig"
 196
 197endmenu
 198
 199menu "Executable file formats"
 200
 201# only elf supported
 202config KCORE_ELF
 203        def_bool y
 204        depends on PROC_FS
 205        help
 206          If you enabled support for /proc file system then the file
 207          /proc/kcore will contain the kernel core image in ELF format. This
 208          can be used in gdb:
 209
 210          $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
 211
 212          This is especially useful if you have compiled the kernel with the
 213          "-g" option to preserve debugging information. It is mainly used
 214          for examining kernel data structures on the live kernel.
 215
 216source "fs/Kconfig.binfmt"
 217
 218endmenu
 219
 220source "net/Kconfig"
 221
 222source "drivers/Kconfig"
 223
 224source "fs/Kconfig"
 225
 226menu "Xtensa initrd options"
 227        depends on BLK_DEV_INITRD
 228
 229config EMBEDDED_RAMDISK
 230        bool "Embed root filesystem ramdisk into the kernel"
 231
 232config EMBEDDED_RAMDISK_IMAGE
 233        string "Filename of gzipped ramdisk image"
 234        depends on EMBEDDED_RAMDISK
 235        default "ramdisk.gz"
 236        help
 237          This is the filename of the ramdisk image to be built into the
 238          kernel.  Relative pathnames are relative to arch/xtensa/boot/ramdisk/.
 239          The ramdisk image is not part of the kernel distribution; you must
 240          provide one yourself.
 241endmenu
 242
 243source "arch/xtensa/Kconfig.debug"
 244
 245source "security/Kconfig"
 246
 247source "crypto/Kconfig"
 248
 249source "lib/Kconfig"
 250
 251
 252
lxr.linux.no kindly hosted by Redpill Linpro AS, provider of Linux consulting and operations services since 1995.