Kconfig 7.8 KB

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