Kconfig 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286
  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. select HAVE_OPROFILE
  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_DC233C
  60. bool "dc233c - Diamond 233L Standard Core Rev.C (LE)"
  61. select MMU
  62. help
  63. This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE).
  64. config XTENSA_VARIANT_S6000
  65. bool "s6000 - Stretch software configurable processor"
  66. select VARIANT_IRQ_SWITCH
  67. select ARCH_REQUIRE_GPIOLIB
  68. select XTENSA_CALIBRATE_CCOUNT
  69. endchoice
  70. config XTENSA_UNALIGNED_USER
  71. bool "Unaligned memory access in use space"
  72. help
  73. The Xtensa architecture currently does not handle unaligned
  74. memory accesses in hardware but through an exception handler.
  75. Per default, unaligned memory accesses are disabled in user space.
  76. Say Y here to enable unaligned memory access in user space.
  77. source "kernel/Kconfig.preempt"
  78. config MATH_EMULATION
  79. bool "Math emulation"
  80. help
  81. Can we use information of configuration file?
  82. endmenu
  83. config XTENSA_CALIBRATE_CCOUNT
  84. def_bool n
  85. help
  86. On some platforms (XT2000, for example), the CPU clock rate can
  87. vary. The frequency can be determined, however, by measuring
  88. against a well known, fixed frequency, such as an UART oscillator.
  89. config SERIAL_CONSOLE
  90. def_bool n
  91. config XTENSA_ISS_NETWORK
  92. def_bool n
  93. menu "Bus options"
  94. config PCI
  95. bool "PCI support"
  96. default y
  97. help
  98. Find out whether you have a PCI motherboard. PCI is the name of a
  99. bus system, i.e. the way the CPU talks to the other stuff inside
  100. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  101. VESA. If you have PCI, say Y, otherwise N.
  102. source "drivers/pci/Kconfig"
  103. endmenu
  104. menu "Platform options"
  105. choice
  106. prompt "Xtensa System Type"
  107. default XTENSA_PLATFORM_ISS
  108. config XTENSA_PLATFORM_ISS
  109. bool "ISS"
  110. select XTENSA_CALIBRATE_CCOUNT
  111. select SERIAL_CONSOLE
  112. select XTENSA_ISS_NETWORK
  113. help
  114. ISS is an acronym for Tensilica's Instruction Set Simulator.
  115. config XTENSA_PLATFORM_XT2000
  116. bool "XT2000"
  117. help
  118. XT2000 is the name of Tensilica's feature-rich emulation platform.
  119. This hardware is capable of running a full Linux distribution.
  120. config XTENSA_PLATFORM_S6105
  121. bool "S6105"
  122. select SERIAL_CONSOLE
  123. select NO_IOPORT
  124. config XTENSA_PLATFORM_XTFPGA
  125. bool "XTFPGA"
  126. select SERIAL_CONSOLE
  127. select ETHOC
  128. select XTENSA_CALIBRATE_CCOUNT
  129. help
  130. XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).
  131. This hardware is capable of running a full Linux distribution.
  132. endchoice
  133. config XTENSA_CPU_CLOCK
  134. int "CPU clock rate [MHz]"
  135. depends on !XTENSA_CALIBRATE_CCOUNT
  136. default 16
  137. config GENERIC_CALIBRATE_DELAY
  138. bool "Auto calibration of the BogoMIPS value"
  139. help
  140. The BogoMIPS value can easily be derived from the CPU frequency.
  141. config CMDLINE_BOOL
  142. bool "Default bootloader kernel arguments"
  143. config CMDLINE
  144. string "Initial kernel command string"
  145. depends on CMDLINE_BOOL
  146. default "console=ttyS0,38400 root=/dev/ram"
  147. help
  148. On some architectures (EBSA110 and CATS), there is currently no way
  149. for the boot loader to pass arguments to the kernel. For these
  150. architectures, you should supply some command-line options at build
  151. time by entering them here. As a minimum, you should specify the
  152. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  153. config USE_OF
  154. bool "Flattened Device Tree support"
  155. select OF
  156. select OF_EARLY_FLATTREE
  157. help
  158. Include support for flattened device tree machine descriptions.
  159. config BUILTIN_DTB
  160. string "DTB to build into the kernel image"
  161. depends on OF
  162. config BLK_DEV_SIMDISK
  163. tristate "Host file-based simulated block device support"
  164. default n
  165. depends on XTENSA_PLATFORM_ISS
  166. help
  167. Create block devices that map to files in the host file system.
  168. Device binding to host file may be changed at runtime via proc
  169. interface provided the device is not in use.
  170. config BLK_DEV_SIMDISK_COUNT
  171. int "Number of host file-based simulated block devices"
  172. range 1 10
  173. depends on BLK_DEV_SIMDISK
  174. default 2
  175. help
  176. This is the default minimal number of created block devices.
  177. Kernel/module parameter 'simdisk_count' may be used to change this
  178. value at runtime. More file names (but no more than 10) may be
  179. specified as parameters, simdisk_count grows accordingly.
  180. config SIMDISK0_FILENAME
  181. string "Host filename for the first simulated device"
  182. depends on BLK_DEV_SIMDISK = y
  183. default ""
  184. help
  185. Attach a first simdisk to a host file. Conventionally, this file
  186. contains a root file system.
  187. config SIMDISK1_FILENAME
  188. string "Host filename for the second simulated device"
  189. depends on BLK_DEV_SIMDISK = y && BLK_DEV_SIMDISK_COUNT != 1
  190. default ""
  191. help
  192. Another simulated disk in a host file for a buildroot-independent
  193. storage.
  194. source "mm/Kconfig"
  195. source "drivers/pcmcia/Kconfig"
  196. source "drivers/pci/hotplug/Kconfig"
  197. endmenu
  198. menu "Executable file formats"
  199. # only elf supported
  200. config KCORE_ELF
  201. def_bool y
  202. depends on PROC_FS
  203. help
  204. If you enabled support for /proc file system then the file
  205. /proc/kcore will contain the kernel core image in ELF format. This
  206. can be used in gdb:
  207. $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
  208. This is especially useful if you have compiled the kernel with the
  209. "-g" option to preserve debugging information. It is mainly used
  210. for examining kernel data structures on the live kernel.
  211. source "fs/Kconfig.binfmt"
  212. endmenu
  213. source "net/Kconfig"
  214. source "drivers/Kconfig"
  215. source "fs/Kconfig"
  216. source "arch/xtensa/Kconfig.debug"
  217. source "security/Kconfig"
  218. source "crypto/Kconfig"
  219. source "lib/Kconfig"