Kconfig 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287
  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://www.linux-xtensa.org/>.
  26. config RWSEM_XCHGADD_ALGORITHM
  27. def_bool y
  28. config GENERIC_HWEIGHT
  29. def_bool y
  30. config GENERIC_GPIO
  31. bool
  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. depends on TTY
  111. select XTENSA_CALIBRATE_CCOUNT
  112. select SERIAL_CONSOLE
  113. select XTENSA_ISS_NETWORK
  114. help
  115. ISS is an acronym for Tensilica's Instruction Set Simulator.
  116. config XTENSA_PLATFORM_XT2000
  117. bool "XT2000"
  118. help
  119. XT2000 is the name of Tensilica's feature-rich emulation platform.
  120. This hardware is capable of running a full Linux distribution.
  121. config XTENSA_PLATFORM_S6105
  122. bool "S6105"
  123. select SERIAL_CONSOLE
  124. select NO_IOPORT
  125. config XTENSA_PLATFORM_XTFPGA
  126. bool "XTFPGA"
  127. select SERIAL_CONSOLE
  128. select ETHOC
  129. select XTENSA_CALIBRATE_CCOUNT
  130. help
  131. XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).
  132. This hardware is capable of running a full Linux distribution.
  133. endchoice
  134. config XTENSA_CPU_CLOCK
  135. int "CPU clock rate [MHz]"
  136. depends on !XTENSA_CALIBRATE_CCOUNT
  137. default 16
  138. config GENERIC_CALIBRATE_DELAY
  139. bool "Auto calibration of the BogoMIPS value"
  140. help
  141. The BogoMIPS value can easily be derived from the CPU frequency.
  142. config CMDLINE_BOOL
  143. bool "Default bootloader kernel arguments"
  144. config CMDLINE
  145. string "Initial kernel command string"
  146. depends on CMDLINE_BOOL
  147. default "console=ttyS0,38400 root=/dev/ram"
  148. help
  149. On some architectures (EBSA110 and CATS), there is currently no way
  150. for the boot loader to pass arguments to the kernel. For these
  151. architectures, you should supply some command-line options at build
  152. time by entering them here. As a minimum, you should specify the
  153. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  154. config USE_OF
  155. bool "Flattened Device Tree support"
  156. select OF
  157. select OF_EARLY_FLATTREE
  158. help
  159. Include support for flattened device tree machine descriptions.
  160. config BUILTIN_DTB
  161. string "DTB to build into the kernel image"
  162. depends on OF
  163. config BLK_DEV_SIMDISK
  164. tristate "Host file-based simulated block device support"
  165. default n
  166. depends on XTENSA_PLATFORM_ISS
  167. help
  168. Create block devices that map to files in the host file system.
  169. Device binding to host file may be changed at runtime via proc
  170. interface provided the device is not in use.
  171. config BLK_DEV_SIMDISK_COUNT
  172. int "Number of host file-based simulated block devices"
  173. range 1 10
  174. depends on BLK_DEV_SIMDISK
  175. default 2
  176. help
  177. This is the default minimal number of created block devices.
  178. Kernel/module parameter 'simdisk_count' may be used to change this
  179. value at runtime. More file names (but no more than 10) may be
  180. specified as parameters, simdisk_count grows accordingly.
  181. config SIMDISK0_FILENAME
  182. string "Host filename for the first simulated device"
  183. depends on BLK_DEV_SIMDISK = y
  184. default ""
  185. help
  186. Attach a first simdisk to a host file. Conventionally, this file
  187. contains a root file system.
  188. config SIMDISK1_FILENAME
  189. string "Host filename for the second simulated device"
  190. depends on BLK_DEV_SIMDISK = y && BLK_DEV_SIMDISK_COUNT != 1
  191. default ""
  192. help
  193. Another simulated disk in a host file for a buildroot-independent
  194. storage.
  195. source "mm/Kconfig"
  196. source "drivers/pcmcia/Kconfig"
  197. source "drivers/pci/hotplug/Kconfig"
  198. endmenu
  199. menu "Executable file formats"
  200. # only elf supported
  201. config KCORE_ELF
  202. def_bool y
  203. depends on PROC_FS
  204. help
  205. If you enabled support for /proc file system then the file
  206. /proc/kcore will contain the kernel core image in ELF format. This
  207. can be used in gdb:
  208. $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
  209. This is especially useful if you have compiled the kernel with the
  210. "-g" option to preserve debugging information. It is mainly used
  211. for examining kernel data structures on the live kernel.
  212. source "fs/Kconfig.binfmt"
  213. endmenu
  214. source "net/Kconfig"
  215. source "drivers/Kconfig"
  216. source "fs/Kconfig"
  217. source "arch/xtensa/Kconfig.debug"
  218. source "security/Kconfig"
  219. source "crypto/Kconfig"
  220. source "lib/Kconfig"