Kconfig 5.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222
  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 GENERIC_IRQ_SHOW
  11. select GENERIC_CPU_DEVICES
  12. select MODULES_USE_ELF_RELA
  13. select GENERIC_PCI_IOMAP
  14. select GENERIC_KERNEL_THREAD
  15. select GENERIC_KERNEL_EXECVE
  16. select ARCH_WANT_OPTIONAL_GPIOLIB
  17. help
  18. Xtensa processors are 32-bit RISC machines designed by Tensilica
  19. primarily for embedded systems. These processors are both
  20. configurable and extensible. The Linux port to the Xtensa
  21. architecture supports all processor configurations and extensions,
  22. with reasonable minimum requirements. The Xtensa Linux project has
  23. a home page at <http://xtensa.sourceforge.net/>.
  24. config RWSEM_XCHGADD_ALGORITHM
  25. def_bool y
  26. config GENERIC_HWEIGHT
  27. def_bool y
  28. config GENERIC_GPIO
  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 MMU
  42. def_bool n
  43. config VARIANT_IRQ_SWITCH
  44. def_bool n
  45. menu "Processor type and features"
  46. choice
  47. prompt "Xtensa Processor Configuration"
  48. default XTENSA_VARIANT_FSF
  49. config XTENSA_VARIANT_FSF
  50. bool "fsf - default (not generic) configuration"
  51. select MMU
  52. config XTENSA_VARIANT_DC232B
  53. bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
  54. select MMU
  55. help
  56. This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
  57. config XTENSA_VARIANT_S6000
  58. bool "s6000 - Stretch software configurable processor"
  59. select VARIANT_IRQ_SWITCH
  60. select ARCH_REQUIRE_GPIOLIB
  61. select XTENSA_CALIBRATE_CCOUNT
  62. endchoice
  63. config XTENSA_UNALIGNED_USER
  64. bool "Unaligned memory access in use space"
  65. help
  66. The Xtensa architecture currently does not handle unaligned
  67. memory accesses in hardware but through an exception handler.
  68. Per default, unaligned memory accesses are disabled in user space.
  69. Say Y here to enable unaligned memory access in user space.
  70. source "kernel/Kconfig.preempt"
  71. config MATH_EMULATION
  72. bool "Math emulation"
  73. help
  74. Can we use information of configuration file?
  75. endmenu
  76. config XTENSA_CALIBRATE_CCOUNT
  77. def_bool n
  78. help
  79. On some platforms (XT2000, for example), the CPU clock rate can
  80. vary. The frequency can be determined, however, by measuring
  81. against a well known, fixed frequency, such as an UART oscillator.
  82. config SERIAL_CONSOLE
  83. def_bool n
  84. config XTENSA_ISS_NETWORK
  85. def_bool n
  86. menu "Bus options"
  87. config PCI
  88. bool "PCI support"
  89. default y
  90. help
  91. Find out whether you have a PCI motherboard. PCI is the name of a
  92. bus system, i.e. the way the CPU talks to the other stuff inside
  93. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  94. VESA. If you have PCI, say Y, otherwise N.
  95. source "drivers/pci/Kconfig"
  96. endmenu
  97. menu "Platform options"
  98. choice
  99. prompt "Xtensa System Type"
  100. default XTENSA_PLATFORM_ISS
  101. config XTENSA_PLATFORM_ISS
  102. bool "ISS"
  103. select XTENSA_CALIBRATE_CCOUNT
  104. select SERIAL_CONSOLE
  105. select XTENSA_ISS_NETWORK
  106. help
  107. ISS is an acronym for Tensilica's Instruction Set Simulator.
  108. config XTENSA_PLATFORM_XT2000
  109. bool "XT2000"
  110. help
  111. XT2000 is the name of Tensilica's feature-rich emulation platform.
  112. This hardware is capable of running a full Linux distribution.
  113. config XTENSA_PLATFORM_S6105
  114. bool "S6105"
  115. select SERIAL_CONSOLE
  116. select NO_IOPORT
  117. endchoice
  118. config XTENSA_CPU_CLOCK
  119. int "CPU clock rate [MHz]"
  120. depends on !XTENSA_CALIBRATE_CCOUNT
  121. default 16
  122. config GENERIC_CALIBRATE_DELAY
  123. bool "Auto calibration of the BogoMIPS value"
  124. help
  125. The BogoMIPS value can easily be derived from the CPU frequency.
  126. config CMDLINE_BOOL
  127. bool "Default bootloader kernel arguments"
  128. config CMDLINE
  129. string "Initial kernel command string"
  130. depends on CMDLINE_BOOL
  131. default "console=ttyS0,38400 root=/dev/ram"
  132. help
  133. On some architectures (EBSA110 and CATS), there is currently no way
  134. for the boot loader to pass arguments to the kernel. For these
  135. architectures, you should supply some command-line options at build
  136. time by entering them here. As a minimum, you should specify the
  137. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  138. source "mm/Kconfig"
  139. source "drivers/pcmcia/Kconfig"
  140. source "drivers/pci/hotplug/Kconfig"
  141. endmenu
  142. menu "Executable file formats"
  143. # only elf supported
  144. config KCORE_ELF
  145. def_bool y
  146. depends on PROC_FS
  147. help
  148. If you enabled support for /proc file system then the file
  149. /proc/kcore will contain the kernel core image in ELF format. This
  150. can be used in gdb:
  151. $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
  152. This is especially useful if you have compiled the kernel with the
  153. "-g" option to preserve debugging information. It is mainly used
  154. for examining kernel data structures on the live kernel.
  155. source "fs/Kconfig.binfmt"
  156. endmenu
  157. source "net/Kconfig"
  158. source "drivers/Kconfig"
  159. source "fs/Kconfig"
  160. source "arch/xtensa/Kconfig.debug"
  161. source "security/Kconfig"
  162. source "crypto/Kconfig"
  163. source "lib/Kconfig"