Kconfig 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259
  1. #
  2. # For a description of the syntax of this configuration file,
  3. # see Documentation/kbuild/kconfig-language.txt.
  4. #
  5. mainmenu "Linux Kernel Configuration"
  6. config AVR32
  7. def_bool y
  8. # With EMBEDDED=n, we get lots of stuff automatically selected
  9. # that we usually don't need on AVR32.
  10. select EMBEDDED
  11. select HAVE_OPROFILE
  12. select HAVE_KPROBES
  13. help
  14. AVR32 is a high-performance 32-bit RISC microprocessor core,
  15. designed for cost-sensitive embedded applications, with particular
  16. emphasis on low power consumption and high code density.
  17. There is an AVR32 Linux project with a web page at
  18. http://avr32linux.org/.
  19. config GENERIC_GPIO
  20. def_bool y
  21. config GENERIC_HARDIRQS
  22. def_bool y
  23. config STACKTRACE_SUPPORT
  24. def_bool y
  25. config LOCKDEP_SUPPORT
  26. def_bool y
  27. config TRACE_IRQFLAGS_SUPPORT
  28. def_bool y
  29. config HARDIRQS_SW_RESEND
  30. def_bool y
  31. config GENERIC_IRQ_PROBE
  32. def_bool y
  33. config RWSEM_GENERIC_SPINLOCK
  34. def_bool y
  35. config GENERIC_TIME
  36. def_bool y
  37. config GENERIC_CLOCKEVENTS
  38. def_bool y
  39. config RWSEM_XCHGADD_ALGORITHM
  40. def_bool n
  41. config ARCH_HAS_ILOG2_U32
  42. def_bool n
  43. config ARCH_HAS_ILOG2_U64
  44. def_bool n
  45. config GENERIC_HWEIGHT
  46. def_bool y
  47. config GENERIC_CALIBRATE_DELAY
  48. def_bool y
  49. config GENERIC_BUG
  50. def_bool y
  51. depends on BUG
  52. source "init/Kconfig"
  53. menu "System Type and features"
  54. source "kernel/time/Kconfig"
  55. config SUBARCH_AVR32B
  56. bool
  57. config MMU
  58. bool
  59. config PERFORMANCE_COUNTERS
  60. bool
  61. config PLATFORM_AT32AP
  62. bool
  63. select SUBARCH_AVR32B
  64. select MMU
  65. select PERFORMANCE_COUNTERS
  66. select HAVE_GPIO_LIB
  67. select GENERIC_ALLOCATOR
  68. #
  69. # CPU types
  70. #
  71. # AP7000 derivatives
  72. config CPU_AT32AP700X
  73. bool
  74. select PLATFORM_AT32AP
  75. config CPU_AT32AP7000
  76. bool
  77. select CPU_AT32AP700X
  78. config CPU_AT32AP7001
  79. bool
  80. select CPU_AT32AP700X
  81. config CPU_AT32AP7002
  82. bool
  83. select CPU_AT32AP700X
  84. choice
  85. prompt "AVR32 board type"
  86. default BOARD_ATSTK1000
  87. config BOARD_ATSTK1000
  88. bool "ATSTK1000 evaluation board"
  89. config BOARD_ATNGW100
  90. bool "ATNGW100 Network Gateway"
  91. select CPU_AT32AP7000
  92. endchoice
  93. if BOARD_ATSTK1000
  94. source "arch/avr32/boards/atstk1000/Kconfig"
  95. endif
  96. choice
  97. prompt "Boot loader type"
  98. default LOADER_U_BOOT
  99. config LOADER_U_BOOT
  100. bool "U-Boot (or similar) bootloader"
  101. endchoice
  102. source "arch/avr32/mach-at32ap/Kconfig"
  103. config LOAD_ADDRESS
  104. hex
  105. default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
  106. config ENTRY_ADDRESS
  107. hex
  108. default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
  109. config PHYS_OFFSET
  110. hex
  111. default 0x10000000 if CPU_AT32AP700X=y
  112. source "kernel/Kconfig.preempt"
  113. config QUICKLIST
  114. def_bool y
  115. config HAVE_ARCH_BOOTMEM_NODE
  116. def_bool n
  117. config ARCH_HAVE_MEMORY_PRESENT
  118. def_bool n
  119. config NEED_NODE_MEMMAP_SIZE
  120. def_bool n
  121. config ARCH_FLATMEM_ENABLE
  122. def_bool y
  123. config ARCH_DISCONTIGMEM_ENABLE
  124. def_bool n
  125. config ARCH_SPARSEMEM_ENABLE
  126. def_bool n
  127. source "mm/Kconfig"
  128. config OWNERSHIP_TRACE
  129. bool "Ownership trace support"
  130. default y
  131. help
  132. Say Y to generate an Ownership Trace message on every context switch,
  133. enabling Nexus-compliant debuggers to keep track of the PID of the
  134. currently executing task.
  135. config NMI_DEBUGGING
  136. bool "NMI Debugging"
  137. default n
  138. help
  139. Say Y here and pass the nmi_debug command-line parameter to
  140. the kernel to turn on NMI debugging. Depending on the value
  141. of the nmi_debug option, various pieces of information will
  142. be dumped to the console when a Non-Maskable Interrupt
  143. happens.
  144. # FPU emulation goes here
  145. source "kernel/Kconfig.hz"
  146. config CMDLINE
  147. string "Default kernel command line"
  148. default ""
  149. help
  150. If you don't have a boot loader capable of passing a command line string
  151. to the kernel, you may specify one here. As a minimum, you should specify
  152. the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
  153. endmenu
  154. menu "Power management options"
  155. source "kernel/power/Kconfig"
  156. config ARCH_SUSPEND_POSSIBLE
  157. def_bool y
  158. menu "CPU Frequency scaling"
  159. source "drivers/cpufreq/Kconfig"
  160. config CPU_FREQ_AT32AP
  161. bool "CPU frequency driver for AT32AP"
  162. depends on CPU_FREQ && PLATFORM_AT32AP
  163. default n
  164. help
  165. This enables the CPU frequency driver for AT32AP processors.
  166. For details, take a look in <file:Documentation/cpu-freq>.
  167. If in doubt, say N.
  168. endmenu
  169. endmenu
  170. menu "Bus options"
  171. config PCI
  172. bool
  173. source "drivers/pci/Kconfig"
  174. source "drivers/pcmcia/Kconfig"
  175. endmenu
  176. menu "Executable file formats"
  177. source "fs/Kconfig.binfmt"
  178. endmenu
  179. source "net/Kconfig"
  180. source "drivers/Kconfig"
  181. source "fs/Kconfig"
  182. source "arch/avr32/Kconfig.debug"
  183. source "security/Kconfig"
  184. source "crypto/Kconfig"
  185. source "lib/Kconfig"