Kconfig 6.6 KB

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