Kconfig 6.2 KB

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