Kconfig 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. # Hexagon configuration
  2. comment "Linux Kernel Configuration for Hexagon"
  3. config HEXAGON
  4. def_bool y
  5. select HAVE_OPROFILE
  6. select USE_GENERIC_SMP_HELPERS if SMP
  7. # Other pending projects/to-do items.
  8. # select HAVE_REGS_AND_STACK_ACCESS_API
  9. # select HAVE_HW_BREAKPOINT if PERF_EVENTS
  10. # select ARCH_HAS_CPU_IDLE_WAIT
  11. # select ARCH_WANT_OPTIONAL_GPIOLIB
  12. # select ARCH_REQUIRE_GPIOLIB
  13. # select HAVE_CLK
  14. # select IRQ_PER_CPU
  15. select HAVE_IRQ_WORK
  16. # select GENERIC_PENDING_IRQ if SMP
  17. select GENERIC_ATOMIC64
  18. select HAVE_PERF_EVENTS
  19. select HAVE_GENERIC_HARDIRQS
  20. select GENERIC_HARDIRQS_NO__DO_IRQ
  21. select GENERIC_HARDIRQS_NO_DEPRECATED
  22. # GENERIC_ALLOCATOR is used by dma_alloc_coherent()
  23. select GENERIC_ALLOCATOR
  24. select GENERIC_IRQ_SHOW
  25. select HAVE_ARCH_KGDB
  26. select HAVE_ARCH_TRACEHOOK
  27. select NO_IOPORT
  28. select GENERIC_IOMAP
  29. select GENERIC_SMP_IDLE_THREAD
  30. select HAVE_GENERIC_INIT_TASK
  31. # mostly generic routines, with some accelerated ones
  32. ---help---
  33. Qualcomm Hexagon is a processor architecture designed for high
  34. performance and low power across a wide variety of applications.
  35. config HEXAGON_ARCH_V1
  36. bool
  37. config HEXAGON_ARCH_V2
  38. bool
  39. config HEXAGON_ARCH_V3
  40. bool
  41. config HEXAGON_ARCH_V4
  42. bool
  43. config FRAME_POINTER
  44. def_bool y
  45. config LOCKDEP_SUPPORT
  46. def_bool y
  47. config PCI
  48. def_bool n
  49. config EARLY_PRINTK
  50. def_bool y
  51. config KTIME_SCALAR
  52. def_bool y
  53. config MMU
  54. def_bool y
  55. config TRACE_IRQFLAGS_SUPPORT
  56. def_bool y
  57. config GENERIC_CSUM
  58. def_bool y
  59. #
  60. # Use the generic interrupt handling code in kernel/irq/:
  61. #
  62. config GENERIC_IRQ_PROBE
  63. def_bool y
  64. #config ZONE_DMA
  65. # bool
  66. # default y
  67. config HAS_DMA
  68. bool
  69. select HAVE_DMA_ATTRS
  70. default y
  71. config NEED_SG_DMA_LENGTH
  72. def_bool y
  73. config RWSEM_GENERIC_SPINLOCK
  74. def_bool n
  75. config RWSEM_XCHGADD_ALGORITHM
  76. def_bool y
  77. config GENERIC_FIND_NEXT_BIT
  78. def_bool y
  79. config GENERIC_HWEIGHT
  80. def_bool y
  81. config GENERIC_TIME
  82. def_bool y
  83. config GENERIC_CLOCKEVENTS
  84. def_bool y
  85. config GENERIC_CLOCKEVENTS_BROADCAST
  86. def_bool y
  87. config STACKTRACE_SUPPORT
  88. def_bool y
  89. select STACKTRACE
  90. config GENERIC_BUG
  91. def_bool y
  92. depends on BUG
  93. config BUG
  94. def_bool y
  95. menu "Machine selection"
  96. choice
  97. prompt "System type"
  98. default HEXAGON_ARCH_V2
  99. config HEXAGON_COMET
  100. bool "Comet Board"
  101. select HEXAGON_ARCH_V2
  102. ---help---
  103. Support for the Comet platform.
  104. endchoice
  105. config HEXAGON_VM
  106. def_bool y
  107. config CMDLINE
  108. string "Default kernel command string"
  109. default ""
  110. help
  111. On some platforms, there is currently no way for the boot loader
  112. to pass arguments to the kernel. For these, you should supply some
  113. command-line options at build time by entering them here. At a
  114. minimum, you should specify the memory size and the root device
  115. (e.g., mem=64M root=/dev/nfs).
  116. config HEXAGON_ANGEL_TRAPS
  117. bool "Use Angel Traps"
  118. default n
  119. ---help---
  120. Enable angel debug traps (for printk's).
  121. config SMP
  122. bool "Multi-Processing support"
  123. ---help---
  124. Enables SMP support in the kernel. If unsure, say "Y"
  125. config NR_CPUS
  126. int "Maximum number of CPUs" if SMP
  127. range 2 6 if SMP
  128. default "1" if !SMP
  129. default "6" if SMP
  130. ---help---
  131. This allows you to specify the maximum number of CPUs which this
  132. kernel will support. The maximum supported value is 6 and the
  133. minimum value which makes sense is 2.
  134. This is purely to save memory - each supported CPU adds
  135. approximately eight kilobytes to the kernel image.
  136. choice
  137. prompt "Kernel page size"
  138. default PAGE_SIZE_4KB
  139. ---help---
  140. Changes the default page size; use with caution.
  141. config PAGE_SIZE_4KB
  142. bool "4KB"
  143. config PAGE_SIZE_16KB
  144. bool "16KB"
  145. config PAGE_SIZE_64KB
  146. bool "64KB"
  147. config PAGE_SIZE_256KB
  148. bool "256KB"
  149. endchoice
  150. source "mm/Kconfig"
  151. source "kernel/Kconfig.hz"
  152. source "kernel/time/Kconfig"
  153. config GENERIC_GPIO
  154. bool "Generic GPIO support"
  155. default n
  156. endmenu
  157. source "init/Kconfig"
  158. source "drivers/Kconfig"
  159. source "fs/Kconfig"
  160. menu "Executable File Formats"
  161. source "fs/Kconfig.binfmt"
  162. endmenu
  163. source "net/Kconfig"
  164. source "security/Kconfig"
  165. source "crypto/Kconfig"
  166. source "lib/Kconfig"
  167. menu "Kernel hacking"
  168. source "lib/Kconfig.debug"
  169. endmenu