Kconfig 6.1 KB

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