Kconfig 3.5 KB

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