Kconfig 6.5 KB

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