Kconfig 7.7 KB

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