Kconfig 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252
  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. help
  12. AVR32 is a high-performance 32-bit RISC microprocessor core,
  13. designed for cost-sensitive embedded applications, with particular
  14. emphasis on low power consumption and high code density.
  15. There is an AVR32 Linux project with a web page at
  16. http://avr32linux.org/.
  17. config GENERIC_GPIO
  18. def_bool y
  19. config GENERIC_HARDIRQS
  20. def_bool y
  21. config STACKTRACE_SUPPORT
  22. def_bool y
  23. config LOCKDEP_SUPPORT
  24. def_bool y
  25. config TRACE_IRQFLAGS_SUPPORT
  26. def_bool y
  27. config HARDIRQS_SW_RESEND
  28. def_bool y
  29. config GENERIC_IRQ_PROBE
  30. def_bool y
  31. config RWSEM_GENERIC_SPINLOCK
  32. def_bool y
  33. config GENERIC_TIME
  34. def_bool y
  35. config RWSEM_XCHGADD_ALGORITHM
  36. def_bool n
  37. config ARCH_HAS_ILOG2_U32
  38. def_bool n
  39. config ARCH_HAS_ILOG2_U64
  40. def_bool n
  41. config ARCH_SUPPORTS_OPROFILE
  42. def_bool y
  43. config GENERIC_HWEIGHT
  44. def_bool y
  45. config GENERIC_CALIBRATE_DELAY
  46. def_bool y
  47. config GENERIC_BUG
  48. def_bool y
  49. depends on BUG
  50. source "init/Kconfig"
  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. config CPU_AT32AP700X
  64. bool
  65. select PLATFORM_AT32AP
  66. choice
  67. prompt "AVR32 CPU type"
  68. default CPU_AT32AP7000
  69. config CPU_AT32AP7000
  70. bool "AT32AP7000"
  71. select CPU_AT32AP700X
  72. config CPU_AT32AP7001
  73. bool "AT32AP7001"
  74. select CPU_AT32AP700X
  75. config CPU_AT32AP7002
  76. bool "AT32AP7002"
  77. select CPU_AT32AP700X
  78. endchoice
  79. #
  80. # CPU Daughterboards for ATSTK1000
  81. config BOARD_ATSTK1002
  82. bool
  83. config BOARD_ATSTK1003
  84. bool
  85. config BOARD_ATSTK1004
  86. bool
  87. choice
  88. prompt "AVR32 board type"
  89. default BOARD_ATSTK1000
  90. config BOARD_ATSTK1000
  91. bool "ATSTK1000 evaluation board"
  92. select BOARD_ATSTK1002 if CPU_AT32AP7000
  93. select BOARD_ATSTK1003 if CPU_AT32AP7001
  94. select BOARD_ATSTK1004 if CPU_AT32AP7002
  95. config BOARD_ATNGW100
  96. bool "ATNGW100 Network Gateway"
  97. endchoice
  98. if BOARD_ATSTK1000
  99. source "arch/avr32/boards/atstk1000/Kconfig"
  100. endif
  101. choice
  102. prompt "Boot loader type"
  103. default LOADER_U_BOOT
  104. config LOADER_U_BOOT
  105. bool "U-Boot (or similar) bootloader"
  106. endchoice
  107. source "arch/avr32/mach-at32ap/Kconfig"
  108. config LOAD_ADDRESS
  109. hex
  110. default 0x10000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
  111. config ENTRY_ADDRESS
  112. hex
  113. default 0x90000000 if LOADER_U_BOOT=y && CPU_AT32AP700X=y
  114. config PHYS_OFFSET
  115. hex
  116. default 0x10000000 if CPU_AT32AP700X=y
  117. source "kernel/Kconfig.preempt"
  118. config HAVE_ARCH_BOOTMEM_NODE
  119. def_bool n
  120. config ARCH_HAVE_MEMORY_PRESENT
  121. def_bool n
  122. config NEED_NODE_MEMMAP_SIZE
  123. def_bool n
  124. config ARCH_FLATMEM_ENABLE
  125. def_bool y
  126. config ARCH_DISCONTIGMEM_ENABLE
  127. def_bool n
  128. config ARCH_SPARSEMEM_ENABLE
  129. def_bool n
  130. source "mm/Kconfig"
  131. config OWNERSHIP_TRACE
  132. bool "Ownership trace support"
  133. default y
  134. help
  135. Say Y to generate an Ownership Trace message on every context switch,
  136. enabling Nexus-compliant debuggers to keep track of the PID of the
  137. currently executing task.
  138. # FPU emulation goes here
  139. source "kernel/Kconfig.hz"
  140. config CMDLINE
  141. string "Default kernel command line"
  142. default ""
  143. help
  144. If you don't have a boot loader capable of passing a command line string
  145. to the kernel, you may specify one here. As a minimum, you should specify
  146. the memory size and the root device (e.g., mem=8M, root=/dev/nfs).
  147. endmenu
  148. menu "Power management options"
  149. menu "CPU Frequency scaling"
  150. source "drivers/cpufreq/Kconfig"
  151. config CPU_FREQ_AT32AP
  152. bool "CPU frequency driver for AT32AP"
  153. depends on CPU_FREQ && PLATFORM_AT32AP
  154. default n
  155. help
  156. This enables the CPU frequency driver for AT32AP processors.
  157. For details, take a look in <file:Documentation/cpu-freq>.
  158. If in doubt, say N.
  159. endmenu
  160. endmenu
  161. menu "Bus options"
  162. config PCI
  163. bool
  164. source "drivers/pci/Kconfig"
  165. source "drivers/pcmcia/Kconfig"
  166. endmenu
  167. menu "Executable file formats"
  168. source "fs/Kconfig.binfmt"
  169. endmenu
  170. source "net/Kconfig"
  171. source "drivers/Kconfig"
  172. source "fs/Kconfig"
  173. source "kernel/Kconfig.instrumentation"
  174. source "arch/avr32/Kconfig.debug"
  175. source "security/Kconfig"
  176. source "crypto/Kconfig"
  177. source "lib/Kconfig"