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