Kconfig 3.7 KB

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