Kconfig 3.8 KB

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