Kconfig 3.6 KB

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