Kconfig 6.9 KB

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