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