Kconfig 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244
  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 GENERIC_KERNEL_THREAD
  15. select GENERIC_KERNEL_EXECVE
  16. select ARCH_WANT_OPTIONAL_GPIOLIB
  17. select CLONE_BACKWARDS
  18. select IRQ_DOMAIN
  19. help
  20. Xtensa processors are 32-bit RISC machines designed by Tensilica
  21. primarily for embedded systems. These processors are both
  22. configurable and extensible. The Linux port to the Xtensa
  23. architecture supports all processor configurations and extensions,
  24. with reasonable minimum requirements. The Xtensa Linux project has
  25. a home page at <http://xtensa.sourceforge.net/>.
  26. config RWSEM_XCHGADD_ALGORITHM
  27. def_bool y
  28. config GENERIC_HWEIGHT
  29. def_bool y
  30. config GENERIC_GPIO
  31. def_bool y
  32. config ARCH_HAS_ILOG2_U32
  33. def_bool n
  34. config ARCH_HAS_ILOG2_U64
  35. def_bool n
  36. config NO_IOPORT
  37. def_bool n
  38. config HZ
  39. int
  40. default 100
  41. source "init/Kconfig"
  42. source "kernel/Kconfig.freezer"
  43. config MMU
  44. def_bool n
  45. config VARIANT_IRQ_SWITCH
  46. def_bool n
  47. menu "Processor type and features"
  48. choice
  49. prompt "Xtensa Processor Configuration"
  50. default XTENSA_VARIANT_FSF
  51. config XTENSA_VARIANT_FSF
  52. bool "fsf - default (not generic) configuration"
  53. select MMU
  54. config XTENSA_VARIANT_DC232B
  55. bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
  56. select MMU
  57. help
  58. This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
  59. config XTENSA_VARIANT_S6000
  60. bool "s6000 - Stretch software configurable processor"
  61. select VARIANT_IRQ_SWITCH
  62. select ARCH_REQUIRE_GPIOLIB
  63. select XTENSA_CALIBRATE_CCOUNT
  64. endchoice
  65. config XTENSA_UNALIGNED_USER
  66. bool "Unaligned memory access in use space"
  67. help
  68. The Xtensa architecture currently does not handle unaligned
  69. memory accesses in hardware but through an exception handler.
  70. Per default, unaligned memory accesses are disabled in user space.
  71. Say Y here to enable unaligned memory access in user space.
  72. source "kernel/Kconfig.preempt"
  73. config MATH_EMULATION
  74. bool "Math emulation"
  75. help
  76. Can we use information of configuration file?
  77. endmenu
  78. config XTENSA_CALIBRATE_CCOUNT
  79. def_bool n
  80. help
  81. On some platforms (XT2000, for example), the CPU clock rate can
  82. vary. The frequency can be determined, however, by measuring
  83. against a well known, fixed frequency, such as an UART oscillator.
  84. config SERIAL_CONSOLE
  85. def_bool n
  86. config XTENSA_ISS_NETWORK
  87. def_bool n
  88. menu "Bus options"
  89. config PCI
  90. bool "PCI support"
  91. default y
  92. help
  93. Find out whether you have a PCI motherboard. PCI is the name of a
  94. bus system, i.e. the way the CPU talks to the other stuff inside
  95. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  96. VESA. If you have PCI, say Y, otherwise N.
  97. source "drivers/pci/Kconfig"
  98. endmenu
  99. menu "Platform options"
  100. choice
  101. prompt "Xtensa System Type"
  102. default XTENSA_PLATFORM_ISS
  103. config XTENSA_PLATFORM_ISS
  104. bool "ISS"
  105. select XTENSA_CALIBRATE_CCOUNT
  106. select SERIAL_CONSOLE
  107. select XTENSA_ISS_NETWORK
  108. help
  109. ISS is an acronym for Tensilica's Instruction Set Simulator.
  110. config XTENSA_PLATFORM_XT2000
  111. bool "XT2000"
  112. help
  113. XT2000 is the name of Tensilica's feature-rich emulation platform.
  114. This hardware is capable of running a full Linux distribution.
  115. config XTENSA_PLATFORM_S6105
  116. bool "S6105"
  117. select SERIAL_CONSOLE
  118. select NO_IOPORT
  119. config XTENSA_PLATFORM_XTFPGA
  120. bool "XTFPGA"
  121. select SERIAL_CONSOLE
  122. select ETHOC
  123. select XTENSA_CALIBRATE_CCOUNT
  124. help
  125. XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).
  126. This hardware is capable of running a full Linux distribution.
  127. endchoice
  128. config XTENSA_CPU_CLOCK
  129. int "CPU clock rate [MHz]"
  130. depends on !XTENSA_CALIBRATE_CCOUNT
  131. default 16
  132. config GENERIC_CALIBRATE_DELAY
  133. bool "Auto calibration of the BogoMIPS value"
  134. help
  135. The BogoMIPS value can easily be derived from the CPU frequency.
  136. config CMDLINE_BOOL
  137. bool "Default bootloader kernel arguments"
  138. config CMDLINE
  139. string "Initial kernel command string"
  140. depends on CMDLINE_BOOL
  141. default "console=ttyS0,38400 root=/dev/ram"
  142. help
  143. On some architectures (EBSA110 and CATS), there is currently no way
  144. for the boot loader to pass arguments to the kernel. For these
  145. architectures, you should supply some command-line options at build
  146. time by entering them here. As a minimum, you should specify the
  147. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  148. config USE_OF
  149. bool "Flattened Device Tree support"
  150. select OF
  151. select OF_EARLY_FLATTREE
  152. help
  153. Include support for flattened device tree machine descriptions.
  154. config BUILTIN_DTB
  155. string "DTB to build into the kernel image"
  156. depends on OF
  157. source "mm/Kconfig"
  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. source "arch/xtensa/Kconfig.debug"
  180. source "security/Kconfig"
  181. source "crypto/Kconfig"
  182. source "lib/Kconfig"