Kconfig 4.5 KB

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