Kconfig 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373
  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_SCHED_CLOCK
  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 BUILDTIME_EXTABLE_SORT
  17. select CLONE_BACKWARDS
  18. select IRQ_DOMAIN
  19. select HAVE_OPROFILE
  20. select HAVE_FUNCTION_TRACER
  21. select HAVE_IRQ_TIME_ACCOUNTING
  22. select HAVE_PERF_EVENTS
  23. select COMMON_CLK
  24. help
  25. Xtensa processors are 32-bit RISC machines designed by Tensilica
  26. primarily for embedded systems. These processors are both
  27. configurable and extensible. The Linux port to the Xtensa
  28. architecture supports all processor configurations and extensions,
  29. with reasonable minimum requirements. The Xtensa Linux project has
  30. a home page at <http://www.linux-xtensa.org/>.
  31. config RWSEM_XCHGADD_ALGORITHM
  32. def_bool y
  33. config GENERIC_HWEIGHT
  34. def_bool y
  35. config ARCH_HAS_ILOG2_U32
  36. def_bool n
  37. config ARCH_HAS_ILOG2_U64
  38. def_bool n
  39. config NO_IOPORT_MAP
  40. def_bool n
  41. config HZ
  42. int
  43. default 100
  44. source "init/Kconfig"
  45. source "kernel/Kconfig.freezer"
  46. config LOCKDEP_SUPPORT
  47. def_bool y
  48. config STACKTRACE_SUPPORT
  49. def_bool y
  50. config TRACE_IRQFLAGS_SUPPORT
  51. def_bool y
  52. config MMU
  53. def_bool n
  54. config VARIANT_IRQ_SWITCH
  55. def_bool n
  56. config HAVE_XTENSA_GPIO32
  57. def_bool n
  58. config MAY_HAVE_SMP
  59. def_bool n
  60. menu "Processor type and features"
  61. choice
  62. prompt "Xtensa Processor Configuration"
  63. default XTENSA_VARIANT_FSF
  64. config XTENSA_VARIANT_FSF
  65. bool "fsf - default (not generic) configuration"
  66. select MMU
  67. config XTENSA_VARIANT_DC232B
  68. bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
  69. select MMU
  70. select HAVE_XTENSA_GPIO32
  71. help
  72. This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
  73. config XTENSA_VARIANT_DC233C
  74. bool "dc233c - Diamond 233L Standard Core Rev.C (LE)"
  75. select MMU
  76. select HAVE_XTENSA_GPIO32
  77. help
  78. This variant refers to Tensilica's Diamond 233L Standard core Rev.C (LE).
  79. config XTENSA_VARIANT_S6000
  80. bool "s6000 - Stretch software configurable processor"
  81. select VARIANT_IRQ_SWITCH
  82. select ARCH_REQUIRE_GPIOLIB
  83. select XTENSA_CALIBRATE_CCOUNT
  84. endchoice
  85. config XTENSA_UNALIGNED_USER
  86. bool "Unaligned memory access in use space"
  87. help
  88. The Xtensa architecture currently does not handle unaligned
  89. memory accesses in hardware but through an exception handler.
  90. Per default, unaligned memory accesses are disabled in user space.
  91. Say Y here to enable unaligned memory access in user space.
  92. source "kernel/Kconfig.preempt"
  93. config HAVE_SMP
  94. bool "System Supports SMP (MX)"
  95. depends on MAY_HAVE_SMP
  96. select XTENSA_MX
  97. help
  98. This option is use to indicate that the system-on-a-chip (SOC)
  99. supports Multiprocessing. Multiprocessor support implemented above
  100. the CPU core definition and currently needs to be selected manually.
  101. Multiprocessor support in implemented with external cache and
  102. interrupt controlers.
  103. The MX interrupt distributer adds Interprocessor Interrupts
  104. and causes the IRQ numbers to be increased by 4 for devices
  105. like the open cores ethernet driver and the serial interface.
  106. You still have to select "Enable SMP" to enable SMP on this SOC.
  107. config SMP
  108. bool "Enable Symmetric multi-processing support"
  109. depends on HAVE_SMP
  110. select GENERIC_SMP_IDLE_THREAD
  111. help
  112. Enabled SMP Software; allows more than one CPU/CORE
  113. to be activated during startup.
  114. config NR_CPUS
  115. depends on SMP
  116. int "Maximum number of CPUs (2-32)"
  117. range 2 32
  118. default "4"
  119. config HOTPLUG_CPU
  120. bool "Enable CPU hotplug support"
  121. depends on SMP
  122. help
  123. Say Y here to allow turning CPUs off and on. CPUs can be
  124. controlled through /sys/devices/system/cpu.
  125. Say N if you want to disable CPU hotplug.
  126. config MATH_EMULATION
  127. bool "Math emulation"
  128. help
  129. Can we use information of configuration file?
  130. config INITIALIZE_XTENSA_MMU_INSIDE_VMLINUX
  131. bool "Initialize Xtensa MMU inside the Linux kernel code"
  132. default y
  133. help
  134. Earlier version initialized the MMU in the exception vector
  135. before jumping to _startup in head.S and had an advantage that
  136. it was possible to place a software breakpoint at 'reset' and
  137. then enter your normal kernel breakpoints once the MMU was mapped
  138. to the kernel mappings (0XC0000000).
  139. This unfortunately doesn't work for U-Boot and likley also wont
  140. work for using KEXEC to have a hot kernel ready for doing a
  141. KDUMP.
  142. So now the MMU is initialized in head.S but it's necessary to
  143. use hardware breakpoints (gdb 'hbreak' cmd) to break at _startup.
  144. xt-gdb can't place a Software Breakpoint in the 0XD region prior
  145. to mapping the MMU and after mapping even if the area of low memory
  146. was mapped gdb wouldn't remove the breakpoint on hitting it as the
  147. PC wouldn't match. Since Hardware Breakpoints are recommended for
  148. Linux configurations it seems reasonable to just assume they exist
  149. and leave this older mechanism for unfortunate souls that choose
  150. not to follow Tensilica's recommendation.
  151. Selecting this will cause U-Boot to set the KERNEL Load and Entry
  152. address at 0x00003000 instead of the mapped std of 0xD0003000.
  153. If in doubt, say Y.
  154. config HIGHMEM
  155. bool "High Memory Support"
  156. help
  157. Linux can use the full amount of RAM in the system by
  158. default. However, the default MMUv2 setup only maps the
  159. lowermost 128 MB of memory linearly to the areas starting
  160. at 0xd0000000 (cached) and 0xd8000000 (uncached).
  161. When there are more than 128 MB memory in the system not
  162. all of it can be "permanently mapped" by the kernel.
  163. The physical memory that's not permanently mapped is called
  164. "high memory".
  165. If you are compiling a kernel which will never run on a
  166. machine with more than 128 MB total physical RAM, answer
  167. N here.
  168. If unsure, say Y.
  169. endmenu
  170. config XTENSA_CALIBRATE_CCOUNT
  171. def_bool n
  172. help
  173. On some platforms (XT2000, for example), the CPU clock rate can
  174. vary. The frequency can be determined, however, by measuring
  175. against a well known, fixed frequency, such as an UART oscillator.
  176. config SERIAL_CONSOLE
  177. def_bool n
  178. menu "Bus options"
  179. config PCI
  180. bool "PCI support"
  181. default y
  182. help
  183. Find out whether you have a PCI motherboard. PCI is the name of a
  184. bus system, i.e. the way the CPU talks to the other stuff inside
  185. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  186. VESA. If you have PCI, say Y, otherwise N.
  187. source "drivers/pci/Kconfig"
  188. endmenu
  189. menu "Platform options"
  190. choice
  191. prompt "Xtensa System Type"
  192. default XTENSA_PLATFORM_ISS
  193. config XTENSA_PLATFORM_ISS
  194. bool "ISS"
  195. select XTENSA_CALIBRATE_CCOUNT
  196. select SERIAL_CONSOLE
  197. help
  198. ISS is an acronym for Tensilica's Instruction Set Simulator.
  199. config XTENSA_PLATFORM_XT2000
  200. bool "XT2000"
  201. help
  202. XT2000 is the name of Tensilica's feature-rich emulation platform.
  203. This hardware is capable of running a full Linux distribution.
  204. config XTENSA_PLATFORM_S6105
  205. bool "S6105"
  206. select SERIAL_CONSOLE
  207. select NO_IOPORT_MAP
  208. config XTENSA_PLATFORM_XTFPGA
  209. bool "XTFPGA"
  210. select SERIAL_CONSOLE
  211. select ETHOC
  212. select XTENSA_CALIBRATE_CCOUNT
  213. help
  214. XTFPGA is the name of Tensilica board family (LX60, LX110, LX200, ML605).
  215. This hardware is capable of running a full Linux distribution.
  216. endchoice
  217. config XTENSA_CPU_CLOCK
  218. int "CPU clock rate [MHz]"
  219. depends on !XTENSA_CALIBRATE_CCOUNT
  220. default 16
  221. config GENERIC_CALIBRATE_DELAY
  222. bool "Auto calibration of the BogoMIPS value"
  223. help
  224. The BogoMIPS value can easily be derived from the CPU frequency.
  225. config CMDLINE_BOOL
  226. bool "Default bootloader kernel arguments"
  227. config CMDLINE
  228. string "Initial kernel command string"
  229. depends on CMDLINE_BOOL
  230. default "console=ttyS0,38400 root=/dev/ram"
  231. help
  232. On some architectures (EBSA110 and CATS), there is currently no way
  233. for the boot loader to pass arguments to the kernel. For these
  234. architectures, you should supply some command-line options at build
  235. time by entering them here. As a minimum, you should specify the
  236. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  237. config USE_OF
  238. bool "Flattened Device Tree support"
  239. select OF
  240. select OF_EARLY_FLATTREE
  241. help
  242. Include support for flattened device tree machine descriptions.
  243. config BUILTIN_DTB
  244. string "DTB to build into the kernel image"
  245. depends on OF
  246. config BLK_DEV_SIMDISK
  247. tristate "Host file-based simulated block device support"
  248. default n
  249. depends on XTENSA_PLATFORM_ISS
  250. help
  251. Create block devices that map to files in the host file system.
  252. Device binding to host file may be changed at runtime via proc
  253. interface provided the device is not in use.
  254. config BLK_DEV_SIMDISK_COUNT
  255. int "Number of host file-based simulated block devices"
  256. range 1 10
  257. depends on BLK_DEV_SIMDISK
  258. default 2
  259. help
  260. This is the default minimal number of created block devices.
  261. Kernel/module parameter 'simdisk_count' may be used to change this
  262. value at runtime. More file names (but no more than 10) may be
  263. specified as parameters, simdisk_count grows accordingly.
  264. config SIMDISK0_FILENAME
  265. string "Host filename for the first simulated device"
  266. depends on BLK_DEV_SIMDISK = y
  267. default ""
  268. help
  269. Attach a first simdisk to a host file. Conventionally, this file
  270. contains a root file system.
  271. config SIMDISK1_FILENAME
  272. string "Host filename for the second simulated device"
  273. depends on BLK_DEV_SIMDISK = y && BLK_DEV_SIMDISK_COUNT != 1
  274. default ""
  275. help
  276. Another simulated disk in a host file for a buildroot-independent
  277. storage.
  278. source "mm/Kconfig"
  279. source "drivers/pcmcia/Kconfig"
  280. source "drivers/pci/hotplug/Kconfig"
  281. endmenu
  282. menu "Executable file formats"
  283. source "fs/Kconfig.binfmt"
  284. endmenu
  285. source "net/Kconfig"
  286. source "drivers/Kconfig"
  287. source "fs/Kconfig"
  288. source "arch/xtensa/Kconfig.debug"
  289. source "security/Kconfig"
  290. source "crypto/Kconfig"
  291. source "lib/Kconfig"