Kconfig 5.0 KB

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