Kconfig 3.8 KB

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