Kconfig 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301
  1. config AVR32
  2. def_bool y
  3. # With EXPERT=n, we get lots of stuff automatically selected
  4. # that we usually don't need on AVR32.
  5. select EXPERT
  6. select HAVE_CLK
  7. select HAVE_OPROFILE
  8. select HAVE_KPROBES
  9. select HAVE_GENERIC_HARDIRQS
  10. select GENERIC_IRQ_PROBE
  11. select GENERIC_ATOMIC64
  12. select HARDIRQS_SW_RESEND
  13. select GENERIC_IRQ_SHOW
  14. select ARCH_HAVE_CUSTOM_GPIO_H
  15. select ARCH_WANT_IPC_PARSE_VERSION
  16. select ARCH_HAVE_NMI_SAFE_CMPXCHG
  17. select GENERIC_CLOCKEVENTS
  18. select HAVE_MOD_ARCH_SPECIFIC
  19. select MODULES_USE_ELF_RELA
  20. help
  21. AVR32 is a high-performance 32-bit RISC microprocessor core,
  22. designed for cost-sensitive embedded applications, with particular
  23. emphasis on low power consumption and high code density.
  24. There is an AVR32 Linux project with a web page at
  25. http://avr32linux.org/.
  26. config GENERIC_GPIO
  27. def_bool y
  28. config STACKTRACE_SUPPORT
  29. def_bool y
  30. config LOCKDEP_SUPPORT
  31. def_bool y
  32. config TRACE_IRQFLAGS_SUPPORT
  33. def_bool y
  34. config RWSEM_GENERIC_SPINLOCK
  35. def_bool y
  36. config RWSEM_XCHGADD_ALGORITHM
  37. def_bool n
  38. config ARCH_HAS_ILOG2_U32
  39. def_bool n
  40. config ARCH_HAS_ILOG2_U64
  41. def_bool n
  42. config GENERIC_HWEIGHT
  43. def_bool y
  44. config GENERIC_CALIBRATE_DELAY
  45. def_bool y
  46. config GENERIC_BUG
  47. def_bool y
  48. depends on BUG
  49. source "init/Kconfig"
  50. source "kernel/Kconfig.freezer"
  51. menu "System Type and features"
  52. config SUBARCH_AVR32B
  53. bool
  54. config MMU
  55. bool
  56. config PERFORMANCE_COUNTERS
  57. bool
  58. config PLATFORM_AT32AP
  59. bool
  60. select SUBARCH_AVR32B
  61. select MMU
  62. select PERFORMANCE_COUNTERS
  63. select ARCH_REQUIRE_GPIOLIB
  64. select GENERIC_ALLOCATOR
  65. select HAVE_FB_ATMEL
  66. select HAVE_NET_MACB
  67. #
  68. # CPU types
  69. #
  70. # AP7000 derivatives
  71. config CPU_AT32AP700X
  72. bool
  73. select PLATFORM_AT32AP
  74. config CPU_AT32AP7000
  75. bool
  76. select CPU_AT32AP700X
  77. config CPU_AT32AP7001
  78. bool
  79. select CPU_AT32AP700X
  80. config CPU_AT32AP7002
  81. bool
  82. select CPU_AT32AP700X
  83. # AP700X boards
  84. config BOARD_ATNGW100_COMMON
  85. bool
  86. select CPU_AT32AP7000
  87. choice
  88. prompt "AVR32 board type"
  89. default BOARD_ATSTK1000
  90. config BOARD_ATSTK1000
  91. bool "ATSTK1000 evaluation board"
  92. config BOARD_ATNGW100_MKI
  93. bool "ATNGW100 Network Gateway"
  94. select BOARD_ATNGW100_COMMON
  95. config BOARD_ATNGW100_MKII
  96. bool "ATNGW100 mkII Network Gateway"
  97. select BOARD_ATNGW100_COMMON
  98. config BOARD_HAMMERHEAD
  99. bool "Hammerhead board"
  100. select CPU_AT32AP7000
  101. select USB_ARCH_HAS_HCD
  102. help
  103. The Hammerhead platform is built around an AVR32 32-bit microcontroller from Atmel.
  104. It offers versatile peripherals, such as ethernet, usb device, usb host etc.
  105. The board also incorporates a power supply and is a Power over Ethernet (PoE) Powered
  106. Device (PD).
  107. Additionally, a Cyclone III FPGA from Altera is integrated on the board. The FPGA is
  108. mapped into the 32-bit AVR memory bus. The FPGA offers two DDR2 SDRAM interfaces, which
  109. will cover even the most exceptional need of memory bandwidth. Together with the onboard
  110. video decoder the board is ready for video processing.
  111. For more information see: http://www.miromico.ch/index.php/hammerhead.html
  112. config BOARD_FAVR_32
  113. bool "Favr-32 LCD-board"
  114. select CPU_AT32AP7000
  115. config BOARD_MERISC
  116. bool "Merisc board"
  117. select CPU_AT32AP7000
  118. help
  119. Merisc is the family name for a range of AVR32-based boards.
  120. The boards are designed to be used in a man-machine
  121. interfacing environment, utilizing a touch-based graphical
  122. user interface. They host a vast range of I/O peripherals as
  123. well as a large SDRAM & Flash memory bank.
  124. For more information see: http://www.martinsson.se/merisc
  125. config BOARD_MIMC200
  126. bool "MIMC200 CPU board"
  127. select CPU_AT32AP7000
  128. endchoice
  129. source "arch/avr32/boards/atstk1000/Kconfig"
  130. source "arch/avr32/boards/atngw100/Kconfig"
  131. source "arch/avr32/boards/hammerhead/Kconfig"
  132. source "arch/avr32/boards/favr-32/Kconfig"
  133. source "arch/avr32/boards/merisc/Kconfig"
  134. choice
  135. prompt "Boot loader type"
  136. default LOADER_U_BOOT
  137. config LOADER_U_BOOT
  138. bool "U-Boot (or similar) bootloader"
  139. endchoice
  140. source "arch/avr32/mach-at32ap/Kconfig"
  141. config LOAD_ADDRESS
  142. hex
  143. default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
  144. config ENTRY_ADDRESS
  145. hex
  146. default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
  147. config PHYS_OFFSET
  148. hex
  149. default 0x10000000 if CPU_AT32AP700X=y
  150. source "kernel/Kconfig.preempt"
  151. config QUICKLIST
  152. def_bool y
  153. config HAVE_ARCH_BOOTMEM
  154. def_bool n
  155. config ARCH_HAVE_MEMORY_PRESENT
  156. def_bool n
  157. config NEED_NODE_MEMMAP_SIZE
  158. def_bool n
  159. config ARCH_FLATMEM_ENABLE
  160. def_bool y
  161. config ARCH_DISCONTIGMEM_ENABLE
  162. def_bool n
  163. config ARCH_SPARSEMEM_ENABLE
  164. def_bool n
  165. source "mm/Kconfig"
  166. config OWNERSHIP_TRACE
  167. bool "Ownership trace support"
  168. default y
  169. help
  170. Say Y to generate an Ownership Trace message on every context switch,
  171. enabling Nexus-compliant debuggers to keep track of the PID of the
  172. currently executing task.
  173. config NMI_DEBUGGING
  174. bool "NMI Debugging"
  175. default n
  176. help
  177. Say Y here and pass the nmi_debug command-line parameter to
  178. the kernel to turn on NMI debugging. Depending on the value
  179. of the nmi_debug option, various pieces of information will
  180. be dumped to the console when a Non-Maskable Interrupt
  181. happens.
  182. # FPU emulation goes here
  183. source "kernel/Kconfig.hz"
  184. config CMDLINE
  185. string "Default kernel command line"
  186. default ""
  187. help
  188. If you don't have a boot loader capable of passing a command line string
  189. to the kernel, you may specify one here. As a minimum, you should specify
  190. the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
  191. endmenu
  192. menu "Power management options"
  193. source "kernel/power/Kconfig"
  194. config ARCH_SUSPEND_POSSIBLE
  195. def_bool y
  196. menu "CPU Frequency scaling"
  197. source "drivers/cpufreq/Kconfig"
  198. config CPU_FREQ_AT32AP
  199. bool "CPU frequency driver for AT32AP"
  200. depends on CPU_FREQ && PLATFORM_AT32AP
  201. default n
  202. help
  203. This enables the CPU frequency driver for AT32AP processors.
  204. For details, take a look in <file:Documentation/cpu-freq>.
  205. If in doubt, say N.
  206. endmenu
  207. endmenu
  208. menu "Bus options"
  209. config PCI
  210. bool
  211. source "drivers/pci/Kconfig"
  212. source "drivers/pcmcia/Kconfig"
  213. endmenu
  214. menu "Executable file formats"
  215. source "fs/Kconfig.binfmt"
  216. endmenu
  217. source "net/Kconfig"
  218. source "drivers/Kconfig"
  219. source "fs/Kconfig"
  220. source "arch/avr32/Kconfig.debug"
  221. source "security/Kconfig"
  222. source "crypto/Kconfig"
  223. source "lib/Kconfig"