Kconfig 6.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  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 GENERIC_ATOMIC64
  9. select HAVE_GENERIC_HARDIRQS
  10. select GENERIC_IRQ_SHOW
  11. select GENERIC_CPU_DEVICES
  12. select MODULES_USE_ELF_RELA
  13. select GENERIC_PCI_IOMAP
  14. select ARCH_WANT_OPTIONAL_GPIOLIB
  15. help
  16. Xtensa processors are 32-bit RISC machines designed by Tensilica
  17. primarily for embedded systems. These processors are both
  18. configurable and extensible. The Linux port to the Xtensa
  19. architecture supports all processor configurations and extensions,
  20. with reasonable minimum requirements. The Xtensa Linux project has
  21. a home page at <http://xtensa.sourceforge.net/>.
  22. config RWSEM_XCHGADD_ALGORITHM
  23. def_bool y
  24. config GENERIC_HWEIGHT
  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 n
  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. source "kernel/Kconfig.preempt"
  69. config MATH_EMULATION
  70. bool "Math emulation"
  71. help
  72. Can we use information of configuration file?
  73. endmenu
  74. config XTENSA_CALIBRATE_CCOUNT
  75. def_bool n
  76. help
  77. On some platforms (XT2000, for example), the CPU clock rate can
  78. vary. The frequency can be determined, however, by measuring
  79. against a well known, fixed frequency, such as an UART oscillator.
  80. config SERIAL_CONSOLE
  81. def_bool n
  82. config XTENSA_ISS_NETWORK
  83. def_bool n
  84. menu "Bus options"
  85. config PCI
  86. bool "PCI support"
  87. default y
  88. help
  89. Find out whether you have a PCI motherboard. PCI is the name of a
  90. bus system, i.e. the way the CPU talks to the other stuff inside
  91. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  92. VESA. If you have PCI, say Y, otherwise N.
  93. source "drivers/pci/Kconfig"
  94. endmenu
  95. menu "Platform options"
  96. choice
  97. prompt "Xtensa System Type"
  98. default XTENSA_PLATFORM_ISS
  99. config XTENSA_PLATFORM_ISS
  100. bool "ISS"
  101. select XTENSA_CALIBRATE_CCOUNT
  102. select SERIAL_CONSOLE
  103. select XTENSA_ISS_NETWORK
  104. help
  105. ISS is an acronym for Tensilica's Instruction Set Simulator.
  106. config XTENSA_PLATFORM_XT2000
  107. bool "XT2000"
  108. help
  109. XT2000 is the name of Tensilica's feature-rich emulation platform.
  110. This hardware is capable of running a full Linux distribution.
  111. config XTENSA_PLATFORM_S6105
  112. bool "S6105"
  113. select SERIAL_CONSOLE
  114. select NO_IOPORT
  115. endchoice
  116. config XTENSA_CPU_CLOCK
  117. int "CPU clock rate [MHz]"
  118. depends on !XTENSA_CALIBRATE_CCOUNT
  119. default 16
  120. config GENERIC_CALIBRATE_DELAY
  121. bool "Auto calibration of the BogoMIPS value"
  122. help
  123. The BogoMIPS value can easily be derived from the CPU frequency.
  124. config CMDLINE_BOOL
  125. bool "Default bootloader kernel arguments"
  126. config CMDLINE
  127. string "Initial kernel command string"
  128. depends on CMDLINE_BOOL
  129. default "console=ttyS0,38400 root=/dev/ram"
  130. help
  131. On some architectures (EBSA110 and CATS), there is currently no way
  132. for the boot loader to pass arguments to the kernel. For these
  133. architectures, you should supply some command-line options at build
  134. time by entering them here. As a minimum, you should specify the
  135. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  136. source "mm/Kconfig"
  137. config HOTPLUG
  138. bool "Support for hot-pluggable devices"
  139. help
  140. Say Y here if you want to plug devices into your computer while
  141. the system is running, and be able to use them quickly. In many
  142. cases, the devices can likewise be unplugged at any time too.
  143. One well known example of this is PCMCIA- or PC-cards, credit-card
  144. size devices such as network cards, modems or hard drives which are
  145. plugged into slots found on all modern laptop computers. Another
  146. example, used on modern desktops as well as laptops, is USB.
  147. Enable HOTPLUG and build a modular kernel. Get agent software
  148. (from <http://linux-hotplug.sourceforge.net/>) and install it.
  149. Then your kernel will automatically call out to a user mode "policy
  150. agent" (/sbin/hotplug) to load modules and set up software needed
  151. to use devices as you hotplug them.
  152. source "drivers/pcmcia/Kconfig"
  153. source "drivers/pci/hotplug/Kconfig"
  154. endmenu
  155. menu "Executable file formats"
  156. # only elf supported
  157. config KCORE_ELF
  158. def_bool y
  159. depends on PROC_FS
  160. help
  161. If you enabled support for /proc file system then the file
  162. /proc/kcore will contain the kernel core image in ELF format. This
  163. can be used in gdb:
  164. $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
  165. This is especially useful if you have compiled the kernel with the
  166. "-g" option to preserve debugging information. It is mainly used
  167. for examining kernel data structures on the live kernel.
  168. source "fs/Kconfig.binfmt"
  169. endmenu
  170. source "net/Kconfig"
  171. source "drivers/Kconfig"
  172. source "fs/Kconfig"
  173. menu "Xtensa initrd options"
  174. depends on BLK_DEV_INITRD
  175. config EMBEDDED_RAMDISK
  176. bool "Embed root filesystem ramdisk into the kernel"
  177. config EMBEDDED_RAMDISK_IMAGE
  178. string "Filename of gzipped ramdisk image"
  179. depends on EMBEDDED_RAMDISK
  180. default "ramdisk.gz"
  181. help
  182. This is the filename of the ramdisk image to be built into the
  183. kernel. Relative pathnames are relative to arch/xtensa/boot/ramdisk/.
  184. The ramdisk image is not part of the kernel distribution; you must
  185. provide one yourself.
  186. endmenu
  187. source "arch/xtensa/Kconfig.debug"
  188. source "security/Kconfig"
  189. source "crypto/Kconfig"
  190. source "lib/Kconfig"