Kconfig 5.7 KB

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