Kconfig 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360
  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 MN10300
  7. def_bool y
  8. select HAVE_OPROFILE
  9. config AM33_2
  10. def_bool n
  11. config AM33_3
  12. def_bool n
  13. config AM34_2
  14. def_bool n
  15. select MN10300_HAS_ATOMIC_OPS_UNIT
  16. select MN10300_HAS_CACHE_SNOOP
  17. config MMU
  18. def_bool y
  19. config HIGHMEM
  20. def_bool n
  21. config NUMA
  22. def_bool n
  23. config UID16
  24. def_bool y
  25. config RWSEM_GENERIC_SPINLOCK
  26. def_bool y
  27. config RWSEM_XCHGADD_ALGORITHM
  28. bool
  29. config GENERIC_HARDIRQS_NO__DO_IRQ
  30. def_bool y
  31. config GENERIC_CALIBRATE_DELAY
  32. def_bool y
  33. config GENERIC_CMOS_UPDATE
  34. def_bool y
  35. config GENERIC_FIND_NEXT_BIT
  36. def_bool y
  37. config GENERIC_HWEIGHT
  38. def_bool y
  39. config GENERIC_BUG
  40. def_bool y
  41. config QUICKLIST
  42. def_bool y
  43. config ARCH_HAS_ILOG2_U32
  44. def_bool y
  45. # Use the generic interrupt handling code in kernel/irq/
  46. config GENERIC_HARDIRQS
  47. def_bool y
  48. config HOTPLUG_CPU
  49. def_bool n
  50. config HZ
  51. int
  52. default 1000
  53. mainmenu "Matsushita MN10300/AM33 Kernel Configuration"
  54. source "init/Kconfig"
  55. source "kernel/Kconfig.freezer"
  56. menu "Matsushita MN10300 system setup"
  57. choice
  58. prompt "Unit type"
  59. default MN10300_UNIT_ASB2303
  60. help
  61. This option specifies board for which the kernel will be
  62. compiled. It affects the external peripherals catered for.
  63. config MN10300_UNIT_ASB2303
  64. bool "ASB2303"
  65. config MN10300_UNIT_ASB2305
  66. bool "ASB2305"
  67. endchoice
  68. choice
  69. prompt "Processor support"
  70. default MN10300_PROC_MN103E010
  71. help
  72. This option specifies the processor for which the kernel will be
  73. compiled. It affects the on-chip peripherals catered for.
  74. config MN10300_PROC_MN103E010
  75. bool "MN103E010"
  76. depends on MN10300_UNIT_ASB2303 || MN10300_UNIT_ASB2305
  77. select AM33_2
  78. select MN10300_PROC_HAS_TTYSM0
  79. select MN10300_PROC_HAS_TTYSM1
  80. select MN10300_PROC_HAS_TTYSM2
  81. endchoice
  82. choice
  83. prompt "Processor core support"
  84. default MN10300_CPU_AM33V2
  85. help
  86. This option specifies the processor core for which the kernel will be
  87. compiled. It affects the instruction set used.
  88. config MN10300_CPU_AM33V2
  89. bool "AM33v2"
  90. endchoice
  91. config MN10300_HAS_ATOMIC_OPS_UNIT
  92. def_bool n
  93. help
  94. This should be enabled if the processor has an atomic ops unit
  95. capable of doing LL/SC equivalent operations.
  96. config FPU
  97. bool "FPU present"
  98. default y
  99. depends on MN10300_PROC_MN103E010
  100. source "arch/mn10300/mm/Kconfig.cache"
  101. menu "Memory layout options"
  102. config KERNEL_RAM_BASE_ADDRESS
  103. hex "Base address of kernel RAM"
  104. default "0x90000000"
  105. config INTERRUPT_VECTOR_BASE
  106. hex "Base address of vector table"
  107. default "0x90000000"
  108. help
  109. The base address of the vector table will be programmed into
  110. the TBR register. It must be on 16MiB address boundary.
  111. config KERNEL_TEXT_ADDRESS
  112. hex "Base address of kernel"
  113. default "0x90001000"
  114. config KERNEL_ZIMAGE_BASE_ADDRESS
  115. hex "Base address of compressed vmlinux image"
  116. default "0x90700000"
  117. endmenu
  118. config PREEMPT
  119. bool "Preemptible Kernel"
  120. help
  121. This option reduces the latency of the kernel when reacting to
  122. real-time or interactive events by allowing a low priority process to
  123. be preempted even if it is in kernel mode executing a system call.
  124. This allows applications to run more reliably even when the system is
  125. under load.
  126. Say Y here if you are building a kernel for a desktop, embedded
  127. or real-time system. Say N if you are unsure.
  128. config MN10300_CURRENT_IN_E2
  129. bool "Hold current task address in E2 register"
  130. default y
  131. help
  132. This option removes the E2/R2 register from the set available to gcc
  133. for normal use and instead uses it to store the address of the
  134. current process's task_struct whilst in the kernel.
  135. This means the kernel doesn't need to calculate the address each time
  136. "current" is used (take SP, AND with mask and dereference pointer
  137. just to get the address), and instead can just use E2+offset
  138. addressing each time.
  139. This has no effect on userspace.
  140. config MN10300_USING_JTAG
  141. bool "Using JTAG to debug kernel"
  142. default y
  143. help
  144. This options indicates that JTAG will be used to debug the kernel. It
  145. suppresses the use of certain hardware debugging features, such as
  146. single-stepping, which are taken over completely by the JTAG unit.
  147. config MN10300_RTC
  148. bool "Using MN10300 RTC"
  149. depends on MN10300_PROC_MN103E010
  150. default n
  151. help
  152. This option enables support for the RTC, thus enabling time to be
  153. tracked, even when system is powered down. This is available on-chip
  154. on the MN103E010.
  155. config MN10300_WD_TIMER
  156. bool "Using MN10300 watchdog timer"
  157. default y
  158. help
  159. This options indicates that the watchdog timer will be used.
  160. config PCI
  161. bool "Use PCI"
  162. depends on MN10300_UNIT_ASB2305
  163. default y
  164. help
  165. Some systems (such as the ASB2305) have PCI onboard. If you have one
  166. of these boards and you wish to use the PCI facilities, say Y here.
  167. The PCI-HOWTO, available from
  168. <http://www.tldp.org/docs.html#howto>, contains valuable
  169. information about which PCI hardware does work under Linux and which
  170. doesn't.
  171. source "drivers/pci/Kconfig"
  172. source "drivers/pcmcia/Kconfig"
  173. menu "MN10300 internal serial options"
  174. config MN10300_PROC_HAS_TTYSM0
  175. bool
  176. default n
  177. config MN10300_PROC_HAS_TTYSM1
  178. bool
  179. default n
  180. config MN10300_PROC_HAS_TTYSM2
  181. bool
  182. default n
  183. config MN10300_TTYSM
  184. bool "Support for ttySM serial ports"
  185. depends on MN10300
  186. default y
  187. select SERIAL_CORE
  188. help
  189. This option enables support for the on-chip serial ports that the
  190. MN10300 has available.
  191. config MN10300_TTYSM_CONSOLE
  192. bool "Support for console on ttySM serial ports"
  193. depends on MN10300_TTYSM
  194. select SERIAL_CORE_CONSOLE
  195. help
  196. This option enables support for a console on the on-chip serial ports
  197. that the MN10300 has available.
  198. #
  199. # /dev/ttySM0
  200. #
  201. config MN10300_TTYSM0
  202. bool "Enable SIF0 (/dev/ttySM0)"
  203. depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
  204. help
  205. Enable access to SIF0 through /dev/ttySM0 or gdb-stub
  206. choice
  207. prompt "Select the timer to supply the clock for SIF0"
  208. default MN10300_TTYSM0_TIMER8
  209. depends on MN10300_TTYSM0
  210. config MN10300_TTYSM0_TIMER8
  211. bool "Use timer 8 (16-bit)"
  212. config MN10300_TTYSM0_TIMER2
  213. bool "Use timer 2 (8-bit)"
  214. endchoice
  215. #
  216. # /dev/ttySM1
  217. #
  218. config MN10300_TTYSM1
  219. bool "Enable SIF1 (/dev/ttySM1)"
  220. depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
  221. help
  222. Enable access to SIF1 through /dev/ttySM1 or gdb-stub
  223. choice
  224. prompt "Select the timer to supply the clock for SIF1"
  225. default MN10300_TTYSM0_TIMER9
  226. depends on MN10300_TTYSM1
  227. config MN10300_TTYSM1_TIMER9
  228. bool "Use timer 9 (16-bit)"
  229. config MN10300_TTYSM1_TIMER3
  230. bool "Use timer 3 (8-bit)"
  231. endchoice
  232. #
  233. # /dev/ttySM2
  234. #
  235. config MN10300_TTYSM2
  236. bool "Enable SIF2 (/dev/ttySM2)"
  237. depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
  238. help
  239. Enable access to SIF2 through /dev/ttySM2 or gdb-stub
  240. choice
  241. prompt "Select the timer to supply the clock for SIF2"
  242. default MN10300_TTYSM0_TIMER10
  243. depends on MN10300_TTYSM2
  244. config MN10300_TTYSM2_TIMER10
  245. bool "Use timer 10 (16-bit)"
  246. endchoice
  247. config MN10300_TTYSM2_CTS
  248. bool "Enable the use of the CTS line /dev/ttySM2"
  249. depends on MN10300_TTYSM2
  250. endmenu
  251. source "mm/Kconfig"
  252. menu "Power management options"
  253. source kernel/power/Kconfig
  254. endmenu
  255. endmenu
  256. menu "Executable formats"
  257. source "fs/Kconfig.binfmt"
  258. endmenu
  259. source "net/Kconfig"
  260. source "drivers/Kconfig"
  261. source "fs/Kconfig"
  262. source "arch/mn10300/Kconfig.debug"
  263. source "security/Kconfig"
  264. source "crypto/Kconfig"
  265. source "lib/Kconfig"