Kconfig 6.6 KB

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