Kconfig 3.4 KB

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