Kconfig 3.7 KB

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