Kconfig 6.2 KB

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