Kconfig 5.5 KB

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