Kconfig 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. # For a description of the syntax of this configuration file,
  2. # see Documentation/kbuild/config-language.txt.
  3. mainmenu "Linux/Xtensa Kernel Configuration"
  4. config FRAME_POINTER
  5. bool
  6. default n
  7. config XTENSA
  8. bool
  9. default y
  10. help
  11. Xtensa processors are 32-bit RISC machines designed by Tensilica
  12. primarily for embedded systems. These processors are both
  13. configurable and extensible. The Linux port to the Xtensa
  14. architecture supports all processor configurations and extensions,
  15. with reasonable minimum requirements. The Xtensa Linux project has
  16. a home page at <http://xtensa.sourceforge.net/>.
  17. config RWSEM_XCHGADD_ALGORITHM
  18. bool
  19. default y
  20. config GENERIC_HARDIRQS
  21. bool
  22. default y
  23. source "init/Kconfig"
  24. menu "Processor type and features"
  25. choice
  26. prompt "Xtensa Processor Configuration"
  27. default XTENSA_CPU_LINUX_BE
  28. config XTENSA_CPU_LINUX_BE
  29. bool "linux_be"
  30. ---help---
  31. The linux_be processor configuration is the baseline Xtensa
  32. configurations included in this kernel and also used by
  33. binutils, gcc, and gdb. It contains no TIE, no coprocessors,
  34. and the following configuration options:
  35. Code Density Option 2 Misc Special Registers
  36. NSA/NSAU Instructions 128-bit Data Bus Width
  37. Processor ID 8K, 2-way I and D Caches
  38. Zero-Overhead Loops 2 Inst Address Break Registers
  39. Big Endian 2 Data Address Break Registers
  40. 64 General-Purpose Registers JTAG Interface and Trace Port
  41. 17 Interrupts MMU w/ TLBs and Autorefill
  42. 3 Interrupt Levels 8 Autorefill Ways (I/D TLBs)
  43. 3 Timers Unaligned Exceptions
  44. endchoice
  45. config MMU
  46. bool
  47. default y
  48. config XTENSA_UNALIGNED_USER
  49. bool "Unaligned memory access in use space"
  50. ---help---
  51. The Xtensa architecture currently does not handle unaligned
  52. memory accesses in hardware but through an exception handler.
  53. Per default, unaligned memory accesses are disabled in user space.
  54. Say Y here to enable unaligned memory access in user space.
  55. config PREEMPT
  56. bool "Preemptible Kernel"
  57. ---help---
  58. This option reduces the latency of the kernel when reacting to
  59. real-time or interactive events by allowing a low priority process to
  60. be preempted even if it is in kernel mode executing a system call.
  61. Unfortunately the kernel code has some race conditions if both
  62. CONFIG_SMP and CONFIG_PREEMPT are enabled, so this option is
  63. currently disabled if you are building an SMP kernel.
  64. Say Y here if you are building a kernel for a desktop, embedded
  65. or real-time system. Say N if you are unsure.
  66. config MATH_EMULATION
  67. bool "Math emulation"
  68. help
  69. Can we use information of configuration file?
  70. config HIGHMEM
  71. bool "High memory support"
  72. endmenu
  73. menu "Platform options"
  74. choice
  75. prompt "Xtensa System Type"
  76. default XTENSA_PLATFORM_ISS
  77. config XTENSA_PLATFORM_ISS
  78. bool "ISS"
  79. help
  80. ISS is an acronym for Tensilica's Instruction Set Simulator.
  81. config XTENSA_PLATFORM_XT2000
  82. bool "XT2000"
  83. help
  84. XT2000 is the name of Tensilica's feature-rich emulation platform.
  85. This hardware is capable of running a full Linux distribution.
  86. endchoice
  87. config XTENSA_CALIBRATE_CCOUNT
  88. bool "Auto calibration of the CPU clock rate"
  89. ---help---
  90. On some platforms (XT2000, for example), the CPU clock rate can
  91. vary. The frequency can be determined, however, by measuring
  92. against a well known, fixed frequency, such as an UART oscillator.
  93. config XTENSA_CPU_CLOCK
  94. int "CPU clock rate [MHz]"
  95. depends on !XTENSA_CALIBRATE_CCOUNT
  96. default "16"
  97. config GENERIC_CALIBRATE_DELAY
  98. bool "Auto calibration of the BogoMIPS value"
  99. ---help---
  100. The BogoMIPS value can easily be derived from the CPU frequency.
  101. config CMDLINE_BOOL
  102. bool "Default bootloader kernel arguments"
  103. config CMDLINE
  104. string "Initial kernel command string"
  105. depends on CMDLINE_BOOL
  106. default "console=ttyS0,38400 root=/dev/ram"
  107. help
  108. On some architectures (EBSA110 and CATS), there is currently no way
  109. for the boot loader to pass arguments to the kernel. For these
  110. architectures, you should supply some command-line options at build
  111. time by entering them here. As a minimum, you should specify the
  112. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  113. config SERIAL_CONSOLE
  114. bool
  115. depends on XTENSA_PLATFORM_ISS
  116. default y
  117. config XTENSA_ISS_NETWORK
  118. bool
  119. depends on XTENSA_PLATFORM_ISS
  120. default y
  121. source "mm/Kconfig"
  122. endmenu
  123. menu "Bus options"
  124. config PCI
  125. bool "PCI support" if !XTENSA_PLATFORM_ISS
  126. depends on !XTENSA_PLATFORM_ISS
  127. default y
  128. help
  129. Find out whether you have a PCI motherboard. PCI is the name of a
  130. bus system, i.e. the way the CPU talks to the other stuff inside
  131. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  132. VESA. If you have PCI, say Y, otherwise N.
  133. The PCI-HOWTO, available from
  134. <http://www.linuxdoc.org/docs.html#howto>, contains valuable
  135. information about which PCI hardware does work under Linux and which
  136. doesn't
  137. source "drivers/pci/Kconfig"
  138. config HOTPLUG
  139. bool "Support for hot-pluggable devices"
  140. ---help---
  141. Say Y here if you want to plug devices into your computer while
  142. the system is running, and be able to use them quickly. In many
  143. cases, the devices can likewise be unplugged at any time too.
  144. One well known example of this is PCMCIA- or PC-cards, credit-card
  145. size devices such as network cards, modems or hard drives which are
  146. plugged into slots found on all modern laptop computers. Another
  147. example, used on modern desktops as well as laptops, is USB.
  148. Enable HOTPLUG and KMOD, and build a modular kernel. Get agent
  149. software (at <http://linux-hotplug.sourceforge.net/>) and install it.
  150. Then your kernel will automatically call out to a user mode "policy
  151. agent" (/sbin/hotplug) to load modules and set up software needed
  152. to use devices as you hotplug them.
  153. source "drivers/pcmcia/Kconfig"
  154. source "drivers/pci/hotplug/Kconfig"
  155. endmenu
  156. menu "Exectuable file formats"
  157. # only elf supported
  158. config KCORE_ELF
  159. bool
  160. depends on PROC_FS
  161. default y
  162. help
  163. If you enabled support for /proc file system then the file
  164. /proc/kcore will contain the kernel core image in ELF format. This
  165. can be used in gdb:
  166. $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
  167. This is especially useful if you have compiled the kernel with the
  168. "-g" option to preserve debugging information. It is mainly used
  169. for examining kernel data structures on the live kernel.
  170. source "fs/Kconfig.binfmt"
  171. endmenu
  172. source "net/Kconfig"
  173. source "drivers/Kconfig"
  174. source "fs/Kconfig"
  175. menu "Xtensa initrd options"
  176. depends on BLK_DEV_INITRD
  177. config EMBEDDED_RAMDISK
  178. bool "Embed root filesystem ramdisk into the kernel"
  179. config EMBEDDED_RAMDISK_IMAGE
  180. string "Filename of gziped ramdisk image"
  181. depends on EMBEDDED_RAMDISK
  182. default "ramdisk.gz"
  183. help
  184. This is the filename of the ramdisk image to be built into the
  185. kernel. Relative pathnames are relative to arch/xtensa/boot/ramdisk/.
  186. The ramdisk image is not part of the kernel distribution; you must
  187. provide one yourself.
  188. endmenu
  189. source "arch/xtensa/Kconfig.debug"
  190. source "security/Kconfig"
  191. source "crypto/Kconfig"
  192. source "lib/Kconfig"