Kconfig 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. config FRAME_POINTER
  2. def_bool n
  3. config ZONE_DMA
  4. def_bool y
  5. config XTENSA
  6. def_bool y
  7. select HAVE_IDE
  8. select HAVE_GENERIC_HARDIRQS
  9. select GENERIC_IRQ_SHOW
  10. help
  11. Xtensa processors are 32-bit RISC machines designed by Tensilica
  12. primarily for embedded systems. These processors are both
  13. configurable and extensible. The Linux port to the Xtensa
  14. architecture supports all processor configurations and extensions,
  15. with reasonable minimum requirements. The Xtensa Linux project has
  16. a home page at <http://xtensa.sourceforge.net/>.
  17. config RWSEM_XCHGADD_ALGORITHM
  18. def_bool y
  19. config GENERIC_HWEIGHT
  20. def_bool y
  21. config GENERIC_GPIO
  22. def_bool y
  23. config ARCH_HAS_ILOG2_U32
  24. def_bool n
  25. config ARCH_HAS_ILOG2_U64
  26. def_bool n
  27. config NO_IOPORT
  28. def_bool y
  29. config HZ
  30. int
  31. default 100
  32. source "init/Kconfig"
  33. source "kernel/Kconfig.freezer"
  34. config MMU
  35. def_bool n
  36. config VARIANT_IRQ_SWITCH
  37. def_bool n
  38. menu "Processor type and features"
  39. choice
  40. prompt "Xtensa Processor Configuration"
  41. default XTENSA_VARIANT_FSF
  42. config XTENSA_VARIANT_FSF
  43. bool "fsf - default (not generic) configuration"
  44. select MMU
  45. config XTENSA_VARIANT_DC232B
  46. bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
  47. select MMU
  48. help
  49. This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
  50. config XTENSA_VARIANT_S6000
  51. bool "s6000 - Stretch software configurable processor"
  52. select VARIANT_IRQ_SWITCH
  53. select ARCH_REQUIRE_GPIOLIB
  54. select XTENSA_CALIBRATE_CCOUNT
  55. endchoice
  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. endmenu
  79. config XTENSA_CALIBRATE_CCOUNT
  80. def_bool n
  81. help
  82. On some platforms (XT2000, for example), the CPU clock rate can
  83. vary. The frequency can be determined, however, by measuring
  84. against a well known, fixed frequency, such as an UART oscillator.
  85. config SERIAL_CONSOLE
  86. def_bool n
  87. config XTENSA_ISS_NETWORK
  88. def_bool n
  89. menu "Bus options"
  90. config PCI
  91. bool "PCI support"
  92. default y
  93. help
  94. Find out whether you have a PCI motherboard. PCI is the name of a
  95. bus system, i.e. the way the CPU talks to the other stuff inside
  96. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  97. VESA. If you have PCI, say Y, otherwise N.
  98. source "drivers/pci/Kconfig"
  99. endmenu
  100. menu "Platform options"
  101. choice
  102. prompt "Xtensa System Type"
  103. default XTENSA_PLATFORM_ISS
  104. config XTENSA_PLATFORM_ISS
  105. bool "ISS"
  106. select XTENSA_CALIBRATE_CCOUNT
  107. select SERIAL_CONSOLE
  108. select XTENSA_ISS_NETWORK
  109. help
  110. ISS is an acronym for Tensilica's Instruction Set Simulator.
  111. config XTENSA_PLATFORM_XT2000
  112. bool "XT2000"
  113. help
  114. XT2000 is the name of Tensilica's feature-rich emulation platform.
  115. This hardware is capable of running a full Linux distribution.
  116. config XTENSA_PLATFORM_S6105
  117. bool "S6105"
  118. select SERIAL_CONSOLE
  119. endchoice
  120. config XTENSA_CPU_CLOCK
  121. int "CPU clock rate [MHz]"
  122. depends on !XTENSA_CALIBRATE_CCOUNT
  123. default 16
  124. config GENERIC_CALIBRATE_DELAY
  125. bool "Auto calibration of the BogoMIPS value"
  126. help
  127. The BogoMIPS value can easily be derived from the CPU frequency.
  128. config CMDLINE_BOOL
  129. bool "Default bootloader kernel arguments"
  130. config CMDLINE
  131. string "Initial kernel command string"
  132. depends on CMDLINE_BOOL
  133. default "console=ttyS0,38400 root=/dev/ram"
  134. help
  135. On some architectures (EBSA110 and CATS), there is currently no way
  136. for the boot loader to pass arguments to the kernel. For these
  137. architectures, you should supply some command-line options at build
  138. time by entering them here. As a minimum, you should specify the
  139. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  140. source "mm/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 build a modular kernel. Get agent software
  152. (from <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. def_bool y
  163. depends on PROC_FS
  164. help
  165. If you enabled support for /proc file system then the file
  166. /proc/kcore will contain the kernel core image in ELF format. This
  167. can be used in gdb:
  168. $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
  169. This is especially useful if you have compiled the kernel with the
  170. "-g" option to preserve debugging information. It is mainly used
  171. for examining kernel data structures on the live kernel.
  172. source "fs/Kconfig.binfmt"
  173. endmenu
  174. source "net/Kconfig"
  175. source "drivers/Kconfig"
  176. source "fs/Kconfig"
  177. menu "Xtensa initrd options"
  178. depends on BLK_DEV_INITRD
  179. config EMBEDDED_RAMDISK
  180. bool "Embed root filesystem ramdisk into the kernel"
  181. config EMBEDDED_RAMDISK_IMAGE
  182. string "Filename of gzipped ramdisk image"
  183. depends on EMBEDDED_RAMDISK
  184. default "ramdisk.gz"
  185. help
  186. This is the filename of the ramdisk image to be built into the
  187. kernel. Relative pathnames are relative to arch/xtensa/boot/ramdisk/.
  188. The ramdisk image is not part of the kernel distribution; you must
  189. provide one yourself.
  190. endmenu
  191. source "arch/xtensa/Kconfig.debug"
  192. source "security/Kconfig"
  193. source "crypto/Kconfig"
  194. source "lib/Kconfig"