Kconfig 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264
  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. select GENERIC_HARDIRQS_NO_DEPRECATED
  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_GPIO
  25. def_bool y
  26. config ARCH_HAS_ILOG2_U32
  27. def_bool n
  28. config ARCH_HAS_ILOG2_U64
  29. def_bool n
  30. config NO_IOPORT
  31. def_bool y
  32. config HZ
  33. int
  34. default 100
  35. source "init/Kconfig"
  36. source "kernel/Kconfig.freezer"
  37. config MMU
  38. def_bool n
  39. config VARIANT_IRQ_SWITCH
  40. def_bool n
  41. menu "Processor type and features"
  42. choice
  43. prompt "Xtensa Processor Configuration"
  44. default XTENSA_VARIANT_FSF
  45. config XTENSA_VARIANT_FSF
  46. bool "fsf - default (not generic) configuration"
  47. select MMU
  48. config XTENSA_VARIANT_DC232B
  49. bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
  50. select MMU
  51. help
  52. This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
  53. config XTENSA_VARIANT_S6000
  54. bool "s6000 - Stretch software configurable processor"
  55. select VARIANT_IRQ_SWITCH
  56. select ARCH_REQUIRE_GPIOLIB
  57. select XTENSA_CALIBRATE_CCOUNT
  58. endchoice
  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. endmenu
  82. config XTENSA_CALIBRATE_CCOUNT
  83. def_bool n
  84. help
  85. On some platforms (XT2000, for example), the CPU clock rate can
  86. vary. The frequency can be determined, however, by measuring
  87. against a well known, fixed frequency, such as an UART oscillator.
  88. config SERIAL_CONSOLE
  89. def_bool n
  90. config XTENSA_ISS_NETWORK
  91. def_bool n
  92. menu "Bus options"
  93. config PCI
  94. bool "PCI support"
  95. default y
  96. help
  97. Find out whether you have a PCI motherboard. PCI is the name of a
  98. bus system, i.e. the way the CPU talks to the other stuff inside
  99. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  100. VESA. If you have PCI, say Y, otherwise N.
  101. source "drivers/pci/Kconfig"
  102. endmenu
  103. menu "Platform options"
  104. choice
  105. prompt "Xtensa System Type"
  106. default XTENSA_PLATFORM_ISS
  107. config XTENSA_PLATFORM_ISS
  108. bool "ISS"
  109. select XTENSA_CALIBRATE_CCOUNT
  110. select SERIAL_CONSOLE
  111. select XTENSA_ISS_NETWORK
  112. help
  113. ISS is an acronym for Tensilica's Instruction Set Simulator.
  114. config XTENSA_PLATFORM_XT2000
  115. bool "XT2000"
  116. help
  117. XT2000 is the name of Tensilica's feature-rich emulation platform.
  118. This hardware is capable of running a full Linux distribution.
  119. config XTENSA_PLATFORM_S6105
  120. bool "S6105"
  121. select SERIAL_CONSOLE
  122. endchoice
  123. config XTENSA_CPU_CLOCK
  124. int "CPU clock rate [MHz]"
  125. depends on !XTENSA_CALIBRATE_CCOUNT
  126. default 16
  127. config GENERIC_CALIBRATE_DELAY
  128. bool "Auto calibration of the BogoMIPS value"
  129. help
  130. The BogoMIPS value can easily be derived from the CPU frequency.
  131. config CMDLINE_BOOL
  132. bool "Default bootloader kernel arguments"
  133. config CMDLINE
  134. string "Initial kernel command string"
  135. depends on CMDLINE_BOOL
  136. default "console=ttyS0,38400 root=/dev/ram"
  137. help
  138. On some architectures (EBSA110 and CATS), there is currently no way
  139. for the boot loader to pass arguments to the kernel. For these
  140. architectures, you should supply some command-line options at build
  141. time by entering them here. As a minimum, you should specify the
  142. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  143. source "mm/Kconfig"
  144. config HOTPLUG
  145. bool "Support for hot-pluggable devices"
  146. help
  147. Say Y here if you want to plug devices into your computer while
  148. the system is running, and be able to use them quickly. In many
  149. cases, the devices can likewise be unplugged at any time too.
  150. One well known example of this is PCMCIA- or PC-cards, credit-card
  151. size devices such as network cards, modems or hard drives which are
  152. plugged into slots found on all modern laptop computers. Another
  153. example, used on modern desktops as well as laptops, is USB.
  154. Enable HOTPLUG and build a modular kernel. Get agent software
  155. (from <http://linux-hotplug.sourceforge.net/>) and install it.
  156. Then your kernel will automatically call out to a user mode "policy
  157. agent" (/sbin/hotplug) to load modules and set up software needed
  158. to use devices as you hotplug them.
  159. source "drivers/pcmcia/Kconfig"
  160. source "drivers/pci/hotplug/Kconfig"
  161. endmenu
  162. menu "Executable file formats"
  163. # only elf supported
  164. config KCORE_ELF
  165. def_bool y
  166. depends on PROC_FS
  167. help
  168. If you enabled support for /proc file system then the file
  169. /proc/kcore will contain the kernel core image in ELF format. This
  170. can be used in gdb:
  171. $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
  172. This is especially useful if you have compiled the kernel with the
  173. "-g" option to preserve debugging information. It is mainly used
  174. for examining kernel data structures on the live kernel.
  175. source "fs/Kconfig.binfmt"
  176. endmenu
  177. source "net/Kconfig"
  178. source "drivers/Kconfig"
  179. source "fs/Kconfig"
  180. menu "Xtensa initrd options"
  181. depends on BLK_DEV_INITRD
  182. config EMBEDDED_RAMDISK
  183. bool "Embed root filesystem ramdisk into the kernel"
  184. config EMBEDDED_RAMDISK_IMAGE
  185. string "Filename of gzipped ramdisk image"
  186. depends on EMBEDDED_RAMDISK
  187. default "ramdisk.gz"
  188. help
  189. This is the filename of the ramdisk image to be built into the
  190. kernel. Relative pathnames are relative to arch/xtensa/boot/ramdisk/.
  191. The ramdisk image is not part of the kernel distribution; you must
  192. provide one yourself.
  193. endmenu
  194. source "arch/xtensa/Kconfig.debug"
  195. source "security/Kconfig"
  196. source "crypto/Kconfig"
  197. source "lib/Kconfig"