Kconfig 6.9 KB

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