Kconfig 7.7 KB

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