Kconfig 6.9 KB

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