Kconfig 7.4 KB

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