Kconfig 8.0 KB

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