Kconfig 7.7 KB

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