Kconfig 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  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. help
  15. Xtensa processors are 32-bit RISC machines designed by Tensilica
  16. primarily for embedded systems. These processors are both
  17. configurable and extensible. The Linux port to the Xtensa
  18. architecture supports all processor configurations and extensions,
  19. with reasonable minimum requirements. The Xtensa Linux project has
  20. a home page at <http://xtensa.sourceforge.net/>.
  21. config RWSEM_XCHGADD_ALGORITHM
  22. def_bool y
  23. config GENERIC_HWEIGHT
  24. def_bool y
  25. config GENERIC_GPIO
  26. def_bool y
  27. config ARCH_HAS_ILOG2_U32
  28. def_bool n
  29. config ARCH_HAS_ILOG2_U64
  30. def_bool n
  31. config NO_IOPORT
  32. def_bool n
  33. config HZ
  34. int
  35. default 100
  36. source "init/Kconfig"
  37. source "kernel/Kconfig.freezer"
  38. config MMU
  39. def_bool n
  40. config VARIANT_IRQ_SWITCH
  41. def_bool n
  42. menu "Processor type and features"
  43. choice
  44. prompt "Xtensa Processor Configuration"
  45. default XTENSA_VARIANT_FSF
  46. config XTENSA_VARIANT_FSF
  47. bool "fsf - default (not generic) configuration"
  48. select MMU
  49. config XTENSA_VARIANT_DC232B
  50. bool "dc232b - Diamond 232L Standard Core Rev.B (LE)"
  51. select MMU
  52. help
  53. This variant refers to Tensilica's Diamond 232L Standard core Rev.B (LE).
  54. config XTENSA_VARIANT_S6000
  55. bool "s6000 - Stretch software configurable processor"
  56. select VARIANT_IRQ_SWITCH
  57. select ARCH_REQUIRE_GPIOLIB
  58. select XTENSA_CALIBRATE_CCOUNT
  59. endchoice
  60. config XTENSA_UNALIGNED_USER
  61. bool "Unaligned memory access in use space"
  62. help
  63. The Xtensa architecture currently does not handle unaligned
  64. memory accesses in hardware but through an exception handler.
  65. Per default, unaligned memory accesses are disabled in user space.
  66. Say Y here to enable unaligned memory access in user space.
  67. source "kernel/Kconfig.preempt"
  68. config MATH_EMULATION
  69. bool "Math emulation"
  70. help
  71. Can we use information of configuration file?
  72. endmenu
  73. config XTENSA_CALIBRATE_CCOUNT
  74. def_bool n
  75. help
  76. On some platforms (XT2000, for example), the CPU clock rate can
  77. vary. The frequency can be determined, however, by measuring
  78. against a well known, fixed frequency, such as an UART oscillator.
  79. config SERIAL_CONSOLE
  80. def_bool n
  81. config XTENSA_ISS_NETWORK
  82. def_bool n
  83. menu "Bus options"
  84. config PCI
  85. bool "PCI support"
  86. default y
  87. help
  88. Find out whether you have a PCI motherboard. PCI is the name of a
  89. bus system, i.e. the way the CPU talks to the other stuff inside
  90. your box. Other bus systems are ISA, EISA, MicroChannel (MCA) or
  91. VESA. If you have PCI, say Y, otherwise N.
  92. source "drivers/pci/Kconfig"
  93. endmenu
  94. menu "Platform options"
  95. choice
  96. prompt "Xtensa System Type"
  97. default XTENSA_PLATFORM_ISS
  98. config XTENSA_PLATFORM_ISS
  99. bool "ISS"
  100. select XTENSA_CALIBRATE_CCOUNT
  101. select SERIAL_CONSOLE
  102. select XTENSA_ISS_NETWORK
  103. help
  104. ISS is an acronym for Tensilica's Instruction Set Simulator.
  105. config XTENSA_PLATFORM_XT2000
  106. bool "XT2000"
  107. help
  108. XT2000 is the name of Tensilica's feature-rich emulation platform.
  109. This hardware is capable of running a full Linux distribution.
  110. config XTENSA_PLATFORM_S6105
  111. bool "S6105"
  112. select SERIAL_CONSOLE
  113. select NO_IOPORT
  114. endchoice
  115. config XTENSA_CPU_CLOCK
  116. int "CPU clock rate [MHz]"
  117. depends on !XTENSA_CALIBRATE_CCOUNT
  118. default 16
  119. config GENERIC_CALIBRATE_DELAY
  120. bool "Auto calibration of the BogoMIPS value"
  121. help
  122. The BogoMIPS value can easily be derived from the CPU frequency.
  123. config CMDLINE_BOOL
  124. bool "Default bootloader kernel arguments"
  125. config CMDLINE
  126. string "Initial kernel command string"
  127. depends on CMDLINE_BOOL
  128. default "console=ttyS0,38400 root=/dev/ram"
  129. help
  130. On some architectures (EBSA110 and CATS), there is currently no way
  131. for the boot loader to pass arguments to the kernel. For these
  132. architectures, you should supply some command-line options at build
  133. time by entering them here. As a minimum, you should specify the
  134. memory size and the root device (e.g., mem=64M root=/dev/nfs).
  135. source "mm/Kconfig"
  136. config HOTPLUG
  137. bool "Support for hot-pluggable devices"
  138. help
  139. Say Y here if you want to plug devices into your computer while
  140. the system is running, and be able to use them quickly. In many
  141. cases, the devices can likewise be unplugged at any time too.
  142. One well known example of this is PCMCIA- or PC-cards, credit-card
  143. size devices such as network cards, modems or hard drives which are
  144. plugged into slots found on all modern laptop computers. Another
  145. example, used on modern desktops as well as laptops, is USB.
  146. Enable HOTPLUG and build a modular kernel. Get agent software
  147. (from <http://linux-hotplug.sourceforge.net/>) and install it.
  148. Then your kernel will automatically call out to a user mode "policy
  149. agent" (/sbin/hotplug) to load modules and set up software needed
  150. to use devices as you hotplug them.
  151. source "drivers/pcmcia/Kconfig"
  152. source "drivers/pci/hotplug/Kconfig"
  153. endmenu
  154. menu "Executable file formats"
  155. # only elf supported
  156. config KCORE_ELF
  157. def_bool y
  158. depends on PROC_FS
  159. help
  160. If you enabled support for /proc file system then the file
  161. /proc/kcore will contain the kernel core image in ELF format. This
  162. can be used in gdb:
  163. $ cd /usr/src/linux ; gdb vmlinux /proc/kcore
  164. This is especially useful if you have compiled the kernel with the
  165. "-g" option to preserve debugging information. It is mainly used
  166. for examining kernel data structures on the live kernel.
  167. source "fs/Kconfig.binfmt"
  168. endmenu
  169. source "net/Kconfig"
  170. source "drivers/Kconfig"
  171. source "fs/Kconfig"
  172. menu "Xtensa initrd options"
  173. depends on BLK_DEV_INITRD
  174. config EMBEDDED_RAMDISK
  175. bool "Embed root filesystem ramdisk into the kernel"
  176. config EMBEDDED_RAMDISK_IMAGE
  177. string "Filename of gzipped ramdisk image"
  178. depends on EMBEDDED_RAMDISK
  179. default "ramdisk.gz"
  180. help
  181. This is the filename of the ramdisk image to be built into the
  182. kernel. Relative pathnames are relative to arch/xtensa/boot/ramdisk/.
  183. The ramdisk image is not part of the kernel distribution; you must
  184. provide one yourself.
  185. endmenu
  186. source "arch/xtensa/Kconfig.debug"
  187. source "security/Kconfig"
  188. source "crypto/Kconfig"
  189. source "lib/Kconfig"