Kconfig 7.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308
  1. config ZONE_DMA
  2. def_bool y
  3. config XTENSA
  4. def_bool y
  5. select ARCH_WANT_FRAME_POINTERS
  6. select HAVE_IDE
  7. select GENERIC_ATOMIC64
  8. select GENERIC_CLOCKEVENTS
  9. select VIRT_TO_BUS
  10. select GENERIC_IRQ_SHOW
  11. select GENERIC_CPU_DEVICES
  12. select GENERIC_SCHED_CLOCK
  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. select HAVE_FUNCTION_TRACER
  21. help
  22. Xtensa processors are 32-bit RISC machines designed by Tensilica
  23. primarily for embedded systems. These processors are both
  24. configurable and extensible. The Linux port to the Xtensa
  25. architecture supports all processor configurations and extensions,
  26. with reasonable minimum requirements. The Xtensa Linux project has
  27. a home page at <http://www.linux-xtensa.org/>.
  28. config RWSEM_XCHGADD_ALGORITHM
  29. def_bool y
  30. config GENERIC_HWEIGHT
  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 LOCKDEP_SUPPORT
  44. def_bool y
  45. config STACKTRACE_SUPPORT
  46. def_bool y
  47. config TRACE_IRQFLAGS_SUPPORT
  48. def_bool y
  49. config MMU
  50. def_bool n
  51. config VARIANT_IRQ_SWITCH
  52. def_bool n
  53. menu "Processor type and features"
  54. choice
  55. prompt "Xtensa Processor Configuration"
  56. default XTENSA_VARIANT_FSF
  57. config XTENSA_VARIANT_FSF
  58. bool "fsf - default (not generic) configuration"
  59. select MMU
  60. config XTENSA_VARIANT_DC232B
  61. bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
  62. select MMU
  63. help
  64. This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
  65. config XTENSA_VARIANT_DC233C
  66. bool "dc233c - Diamond 233L Standard Core Rev.C (LE)"
  67. select MMU
  68. help
  69. This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE).
  70. config XTENSA_VARIANT_S6000
  71. bool "s6000 - Stretch software configurable processor"
  72. select VARIANT_IRQ_SWITCH
  73. select ARCH_REQUIRE_GPIOLIB
  74. select XTENSA_CALIBRATE_CCOUNT
  75. endchoice
  76. config XTENSA_UNALIGNED_USER
  77. bool "Unaligned memory access in use space"
  78. help
  79. The Xtensa architecture currently does not handle unaligned
  80. memory accesses in hardware but through an exception handler.
  81. Per default, unaligned memory accesses are disabled in user space.
  82. Say Y here to enable unaligned memory access in user space.
  83. source "kernel/Kconfig.preempt"
  84. config MATH_EMULATION
  85. bool "Math emulation"
  86. help
  87. Can we use information of configuration file?
  88. config INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
  89. bool "Initialize Xtensa MMU inside the Linux kernel code"
  90. default y
  91. help
  92. Earlier version initialized the MMU in the exception vector
  93. before jumping to _startup in head.S and had an advantage that
  94. it was possible to place a software breakpoint at 'reset' and
  95. then enter your normal kernel breakpoints once the MMU was mapped
  96. to the kernel mappings (0XC0000000).
  97. This unfortunately doesn't work for U-Boot and likley also wont
  98. work for using KEXEC to have a hot kernel ready for doing a
  99. KDUMP.
  100. So now the MMU is initialized in head.S but it's necessary to
  101. use hardware breakpoints (gdb 'hbreak' cmd) to break at _startup.
  102. xt-gdb can't place a Software Breakpoint in the 0XD region prior
  103. to mapping the MMU and after mapping even if the area of low memory
  104. was mapped gdb wouldn't remove the breakpoint on hitting it as the
  105. PC wouldn't match. Since Hardware Breakpoints are recommended for
  106. Linux configurations it seems reasonable to just assume they exist
  107. and leave this older mechanism for unfortunate souls that choose
  108. not to follow Tensilica's recommendation.
  109. Selecting this will cause U-Boot to set the KERNEL Load and Entry
  110. address at 0x00003000 instead of the mapped std of 0xD0003000.
  111. If in doubt, say Y.
  112. endmenu
  113. config XTENSA_CALIBRATE_CCOUNT
  114. def_bool n
  115. help
  116. On some platforms (XT2000, for example), the CPU clock rate can
  117. vary. The frequency can be determined, however, by measuring
  118. against a well known, fixed frequency, such as an UART oscillator.
  119. config SERIAL_CONSOLE
  120. def_bool n
  121. config XTENSA_ISS_NETWORK
  122. def_bool n
  123. menu "Bus options"
  124. config PCI
  125. bool "PCI support"
  126. default y
  127. help
  128. Find out whether you have a PCI motherboard. PCI is the name of a
  129. bus system, i.e. the way the CPU talks to the other stuff inside
  130. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  131. VESA. If you have PCI, say Y, otherwise N.
  132. source "drivers/pci/Kconfig"
  133. endmenu
  134. menu "Platform options"
  135. choice
  136. prompt "Xtensa System Type"
  137. default XTENSA_PLATFORM_ISS
  138. config XTENSA_PLATFORM_ISS
  139. bool "ISS"
  140. depends on TTY
  141. select XTENSA_CALIBRATE_CCOUNT
  142. select SERIAL_CONSOLE
  143. select XTENSA_ISS_NETWORK
  144. help
  145. ISS is an acronym for Tensilica's Instruction Set Simulator.
  146. config XTENSA_PLATFORM_XT2000
  147. bool "XT2000"
  148. help
  149. XT2000 is the name of Tensilica's feature-rich emulation platform.
  150. This hardware is capable of running a full Linux distribution.
  151. config XTENSA_PLATFORM_S6105
  152. bool "S6105"
  153. select SERIAL_CONSOLE
  154. select NO_IOPORT
  155. config XTENSA_PLATFORM_XTFPGA
  156. bool "XTFPGA"
  157. select SERIAL_CONSOLE
  158. select ETHOC
  159. select XTENSA_CALIBRATE_CCOUNT
  160. help
  161. XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).
  162. This hardware is capable of running a full Linux distribution.
  163. endchoice
  164. config XTENSA_CPU_CLOCK
  165. int "CPU clock rate [MHz]"
  166. depends on !XTENSA_CALIBRATE_CCOUNT
  167. default 16
  168. config GENERIC_CALIBRATE_DELAY
  169. bool "Auto calibration of the BogoMIPS value"
  170. help
  171. The BogoMIPS value can easily be derived from the CPU frequency.
  172. config CMDLINE_BOOL
  173. bool "Default bootloader kernel arguments"
  174. config CMDLINE
  175. string "Initial kernel command string"
  176. depends on CMDLINE_BOOL
  177. default "console=ttyS0,38400 root=/dev/ram"
  178. help
  179. On some architectures (EBSA110 and CATS), there is currently no way
  180. for the boot loader to pass arguments to the kernel. For these
  181. architectures, you should supply some command-line options at build
  182. time by entering them here. As a minimum, you should specify the
  183. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  184. config USE_OF
  185. bool "Flattened Device Tree support"
  186. select OF
  187. select OF_EARLY_FLATTREE
  188. help
  189. Include support for flattened device tree machine descriptions.
  190. config BUILTIN_DTB
  191. string "DTB to build into the kernel image"
  192. depends on OF
  193. config BLK_DEV_SIMDISK
  194. tristate "Host file-based simulated block device support"
  195. default n
  196. depends on XTENSA_PLATFORM_ISS
  197. help
  198. Create block devices that map to files in the host file system.
  199. Device binding to host file may be changed at runtime via proc
  200. interface provided the device is not in use.
  201. config BLK_DEV_SIMDISK_COUNT
  202. int "Number of host file-based simulated block devices"
  203. range 1 10
  204. depends on BLK_DEV_SIMDISK
  205. default 2
  206. help
  207. This is the default minimal number of created block devices.
  208. Kernel/module parameter 'simdisk_count' may be used to change this
  209. value at runtime. More file names (but no more than 10) may be
  210. specified as parameters, simdisk_count grows accordingly.
  211. config SIMDISK0_FILENAME
  212. string "Host filename for the first simulated device"
  213. depends on BLK_DEV_SIMDISK = y
  214. default ""
  215. help
  216. Attach a first simdisk to a host file. Conventionally, this file
  217. contains a root file system.
  218. config SIMDISK1_FILENAME
  219. string "Host filename for the second simulated device"
  220. depends on BLK_DEV_SIMDISK = y && BLK_DEV_SIMDISK_COUNT != 1
  221. default ""
  222. help
  223. Another simulated disk in a host file for a buildroot-independent
  224. storage.
  225. source "mm/Kconfig"
  226. source "drivers/pcmcia/Kconfig"
  227. source "drivers/pci/hotplug/Kconfig"
  228. endmenu
  229. menu "Executable file formats"
  230. source "fs/Kconfig.binfmt"
  231. endmenu
  232. source "net/Kconfig"
  233. source "drivers/Kconfig"
  234. source "fs/Kconfig"
  235. source "arch/xtensa/Kconfig.debug"
  236. source "security/Kconfig"
  237. source "crypto/Kconfig"
  238. source "lib/Kconfig"