Kconfig 5.0 KB

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