Kconfig 6.6 KB

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