Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246
  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_IDE
  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 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. menu "System Type and features"
  53. config SUBARCH_AVR32B
  54. bool
  55. config MMU
  56. bool
  57. config PERFORMANCE_COUNTERS
  58. bool
  59. config PLATFORM_AT32AP
  60. bool
  61. select SUBARCH_AVR32B
  62. select MMU
  63. select PERFORMANCE_COUNTERS
  64. select HAVE_GPIO_LIB
  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. choice
  82. prompt "AVR32 board type"
  83. default BOARD_ATSTK1000
  84. config BOARD_ATSTK1000
  85. bool "ATSTK1000 evaluation board"
  86. config BOARD_ATNGW100
  87. bool "ATNGW100 Network Gateway"
  88. select CPU_AT32AP7000
  89. endchoice
  90. if BOARD_ATSTK1000
  91. source "arch/avr32/boards/atstk1000/Kconfig"
  92. endif
  93. choice
  94. prompt "Boot loader type"
  95. default LOADER_U_BOOT
  96. config LOADER_U_BOOT
  97. bool "U-Boot (or similar) bootloader"
  98. endchoice
  99. source "arch/avr32/mach-at32ap/Kconfig"
  100. config LOAD_ADDRESS
  101. hex
  102. default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
  103. config ENTRY_ADDRESS
  104. hex
  105. default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
  106. config PHYS_OFFSET
  107. hex
  108. default 0x10000000 if CPU_AT32AP700X=y
  109. source "kernel/Kconfig.preempt"
  110. config HAVE_ARCH_BOOTMEM_NODE
  111. def_bool n
  112. config ARCH_HAVE_MEMORY_PRESENT
  113. def_bool n
  114. config NEED_NODE_MEMMAP_SIZE
  115. def_bool n
  116. config ARCH_FLATMEM_ENABLE
  117. def_bool y
  118. config ARCH_DISCONTIGMEM_ENABLE
  119. def_bool n
  120. config ARCH_SPARSEMEM_ENABLE
  121. def_bool n
  122. source "mm/Kconfig"
  123. config OWNERSHIP_TRACE
  124. bool "Ownership trace support"
  125. default y
  126. help
  127. Say Y to generate an Ownership Trace message on every context switch,
  128. enabling Nexus-compliant debuggers to keep track of the PID of the
  129. currently executing task.
  130. config NMI_DEBUGGING
  131. bool "NMI Debugging"
  132. default n
  133. help
  134. Say Y here and pass the nmi_debug command-line parameter to
  135. the kernel to turn on NMI debugging. Depending on the value
  136. of the nmi_debug option, various pieces of information will
  137. be dumped to the console when a Non-Maskable Interrupt
  138. happens.
  139. # FPU emulation goes here
  140. source "kernel/Kconfig.hz"
  141. config CMDLINE
  142. string "Default kernel command line"
  143. default ""
  144. help
  145. If you don't have a boot loader capable of passing a command line string
  146. to the kernel, you may specify one here. As a minimum, you should specify
  147. the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
  148. endmenu
  149. menu "Power management options"
  150. menu "CPU Frequency scaling"
  151. source "drivers/cpufreq/Kconfig"
  152. config CPU_FREQ_AT32AP
  153. bool "CPU frequency driver for AT32AP"
  154. depends on CPU_FREQ && PLATFORM_AT32AP
  155. default n
  156. help
  157. This enables the CPU frequency driver for AT32AP processors.
  158. For details, take a look in <file:Documentation/cpu-freq>.
  159. If in doubt, say N.
  160. endmenu
  161. endmenu
  162. menu "Bus options"
  163. config PCI
  164. bool
  165. source "drivers/pci/Kconfig"
  166. source "drivers/pcmcia/Kconfig"
  167. endmenu
  168. menu "Executable file formats"
  169. source "fs/Kconfig.binfmt"
  170. endmenu
  171. source "net/Kconfig"
  172. source "drivers/Kconfig"
  173. source "fs/Kconfig"
  174. source "arch/avr32/Kconfig.debug"
  175. source "security/Kconfig"
  176. source "crypto/Kconfig"
  177. source "lib/Kconfig"