Kconfig 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313
  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. source "kernel/Kconfig.freezer"
  55. menu "System Type and features"
  56. source "kernel/time/Kconfig"
  57. config SUBARCH_AVR32B
  58. bool
  59. config MMU
  60. bool
  61. config PERFORMANCE_COUNTERS
  62. bool
  63. config PLATFORM_AT32AP
  64. bool
  65. select SUBARCH_AVR32B
  66. select MMU
  67. select PERFORMANCE_COUNTERS
  68. select ARCH_REQUIRE_GPIOLIB
  69. select GENERIC_ALLOCATOR
  70. select HAVE_FB_ATMEL
  71. #
  72. # CPU types
  73. #
  74. # AP7000 derivatives
  75. config CPU_AT32AP700X
  76. bool
  77. select PLATFORM_AT32AP
  78. config CPU_AT32AP7000
  79. bool
  80. select CPU_AT32AP700X
  81. config CPU_AT32AP7001
  82. bool
  83. select CPU_AT32AP700X
  84. config CPU_AT32AP7002
  85. bool
  86. select CPU_AT32AP700X
  87. # AP700X boards
  88. config BOARD_ATNGW100_COMMON
  89. bool
  90. select CPU_AT32AP7000
  91. choice
  92. prompt "AVR32 board type"
  93. default BOARD_ATSTK1000
  94. config BOARD_ATSTK1000
  95. bool "ATSTK1000 evaluation board"
  96. config BOARD_ATNGW100_MKI
  97. bool "ATNGW100 Network Gateway"
  98. select BOARD_ATNGW100_COMMON
  99. config BOARD_ATNGW100_MKII
  100. bool "ATNGW100 mkII Network Gateway"
  101. select BOARD_ATNGW100_COMMON
  102. config BOARD_HAMMERHEAD
  103. bool "Hammerhead board"
  104. select CPU_AT32AP7000
  105. select USB_ARCH_HAS_HCD
  106. help
  107. The Hammerhead platform is built around an AVR32 32-bit microcontroller from Atmel.
  108. It offers versatile peripherals, such as ethernet, usb device, usb host etc.
  109. The board also incorporates a power supply and is a Power over Ethernet (PoE) Powered
  110. Device (PD).
  111. Additionally, a Cyclone III FPGA from Altera is integrated on the board. The FPGA is
  112. mapped into the 32-bit AVR memory bus. The FPGA offers two DDR2 SDRAM interfaces, which
  113. will cover even the most exceptional need of memory bandwidth. Together with the onboard
  114. video decoder the board is ready for video processing.
  115. For more information see: http://www.miromico.com/hammerhead
  116. config BOARD_FAVR_32
  117. bool "Favr-32 LCD-board"
  118. select CPU_AT32AP7000
  119. config BOARD_MERISC
  120. bool "Merisc board"
  121. select CPU_AT32AP7000
  122. help
  123. Merisc is the family name for a range of AVR32-based boards.
  124. The boards are designed to be used in a man-machine
  125. interfacing environment, utilizing a touch-based graphical
  126. user interface. They host a vast range of I/O peripherals as
  127. well as a large SDRAM & Flash memory bank.
  128. For more information see: http://www.martinsson.se/merisc
  129. config BOARD_MIMC200
  130. bool "MIMC200 CPU board"
  131. select CPU_AT32AP7000
  132. endchoice
  133. source "arch/avr32/boards/atstk1000/Kconfig"
  134. source "arch/avr32/boards/atngw100/Kconfig"
  135. source "arch/avr32/boards/hammerhead/Kconfig"
  136. source "arch/avr32/boards/favr-32/Kconfig"
  137. source "arch/avr32/boards/merisc/Kconfig"
  138. choice
  139. prompt "Boot loader type"
  140. default LOADER_U_BOOT
  141. config LOADER_U_BOOT
  142. bool "U-Boot (or similar) bootloader"
  143. endchoice
  144. source "arch/avr32/mach-at32ap/Kconfig"
  145. config LOAD_ADDRESS
  146. hex
  147. default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
  148. config ENTRY_ADDRESS
  149. hex
  150. default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
  151. config PHYS_OFFSET
  152. hex
  153. default 0x10000000 if CPU_AT32AP700X=y
  154. source "kernel/Kconfig.preempt"
  155. config QUICKLIST
  156. def_bool y
  157. config HAVE_ARCH_BOOTMEM
  158. def_bool n
  159. config ARCH_HAVE_MEMORY_PRESENT
  160. def_bool n
  161. config NEED_NODE_MEMMAP_SIZE
  162. def_bool n
  163. config ARCH_FLATMEM_ENABLE
  164. def_bool y
  165. config ARCH_DISCONTIGMEM_ENABLE
  166. def_bool n
  167. config ARCH_SPARSEMEM_ENABLE
  168. def_bool n
  169. source "mm/Kconfig"
  170. config OWNERSHIP_TRACE
  171. bool "Ownership trace support"
  172. default y
  173. help
  174. Say Y to generate an Ownership Trace message on every context switch,
  175. enabling Nexus-compliant debuggers to keep track of the PID of the
  176. currently executing task.
  177. config NMI_DEBUGGING
  178. bool "NMI Debugging"
  179. default n
  180. help
  181. Say Y here and pass the nmi_debug command-line parameter to
  182. the kernel to turn on NMI debugging. Depending on the value
  183. of the nmi_debug option, various pieces of information will
  184. be dumped to the console when a Non-Maskable Interrupt
  185. happens.
  186. # FPU emulation goes here
  187. source "kernel/Kconfig.hz"
  188. config CMDLINE
  189. string "Default kernel command line"
  190. default ""
  191. help
  192. If you don't have a boot loader capable of passing a command line string
  193. to the kernel, you may specify one here. As a minimum, you should specify
  194. the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
  195. endmenu
  196. menu "Power management options"
  197. source "kernel/power/Kconfig"
  198. config ARCH_SUSPEND_POSSIBLE
  199. def_bool y
  200. menu "CPU Frequency scaling"
  201. source "drivers/cpufreq/Kconfig"
  202. config CPU_FREQ_AT32AP
  203. bool "CPU frequency driver for AT32AP"
  204. depends on CPU_FREQ && PLATFORM_AT32AP
  205. default n
  206. help
  207. This enables the CPU frequency driver for AT32AP processors.
  208. For details, take a look in <file:Documentation/cpu-freq>.
  209. If in doubt, say N.
  210. endmenu
  211. endmenu
  212. menu "Bus options"
  213. config PCI
  214. bool
  215. source "drivers/pci/Kconfig"
  216. source "drivers/pcmcia/Kconfig"
  217. endmenu
  218. menu "Executable file formats"
  219. source "fs/Kconfig.binfmt"
  220. endmenu
  221. source "net/Kconfig"
  222. source "drivers/Kconfig"
  223. source "fs/Kconfig"
  224. source "arch/avr32/Kconfig.debug"
  225. source "security/Kconfig"
  226. source "crypto/Kconfig"
  227. source "lib/Kconfig"