Kconfig 3.9 KB

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