Kconfig 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242
  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://xtensa.sourceforge.net/>.
  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. select XTENSA_CALIBRATE_CCOUNT
  104. select SERIAL_CONSOLE
  105. select XTENSA_ISS_NETWORK
  106. help
  107. ISS is an acronym for Tensilica's Instruction Set Simulator.
  108. config XTENSA_PLATFORM_XT2000
  109. bool "XT2000"
  110. help
  111. XT2000 is the name of Tensilica's feature-rich emulation platform.
  112. This hardware is capable of running a full Linux distribution.
  113. config XTENSA_PLATFORM_S6105
  114. bool "S6105"
  115. select SERIAL_CONSOLE
  116. select NO_IOPORT
  117. config XTENSA_PLATFORM_XTFPGA
  118. bool "XTFPGA"
  119. select SERIAL_CONSOLE
  120. select ETHOC
  121. select XTENSA_CALIBRATE_CCOUNT
  122. help
  123. XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).
  124. This hardware is capable of running a full Linux distribution.
  125. endchoice
  126. config XTENSA_CPU_CLOCK
  127. int "CPU clock rate [MHz]"
  128. depends on !XTENSA_CALIBRATE_CCOUNT
  129. default 16
  130. config GENERIC_CALIBRATE_DELAY
  131. bool "Auto calibration of the BogoMIPS value"
  132. help
  133. The BogoMIPS value can easily be derived from the CPU frequency.
  134. config CMDLINE_BOOL
  135. bool "Default bootloader kernel arguments"
  136. config CMDLINE
  137. string "Initial kernel command string"
  138. depends on CMDLINE_BOOL
  139. default "console=ttyS0,38400 root=/dev/ram"
  140. help
  141. On some architectures (EBSA110 and CATS), there is currently no way
  142. for the boot loader to pass arguments to the kernel. For these
  143. architectures, you should supply some command-line options at build
  144. time by entering them here. As a minimum, you should specify the
  145. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  146. config USE_OF
  147. bool "Flattened Device Tree support"
  148. select OF
  149. select OF_EARLY_FLATTREE
  150. help
  151. Include support for flattened device tree machine descriptions.
  152. config BUILTIN_DTB
  153. string "DTB to build into the kernel image"
  154. depends on OF
  155. source "mm/Kconfig"
  156. source "drivers/pcmcia/Kconfig"
  157. source "drivers/pci/hotplug/Kconfig"
  158. endmenu
  159. menu "Executable file formats"
  160. # only elf supported
  161. config KCORE_ELF
  162. def_bool y
  163. depends on PROC_FS
  164. help
  165. If you enabled support for /proc file system then the file
  166. /proc/kcore will contain the kernel core image in ELF format. This
  167. can be used in gdb:
  168. $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
  169. This is especially useful if you have compiled the kernel with the
  170. "-g" option to preserve debugging information. It is mainly used
  171. for examining kernel data structures on the live kernel.
  172. source "fs/Kconfig.binfmt"
  173. endmenu
  174. source "net/Kconfig"
  175. source "drivers/Kconfig"
  176. source "fs/Kconfig"
  177. source "arch/xtensa/Kconfig.debug"
  178. source "security/Kconfig"
  179. source "crypto/Kconfig"
  180. source "lib/Kconfig"