Kconfig 6.7 KB

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