Kconfig 7.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363
  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. source "arch/mn10300/mm/Kconfig.cache"
  103. menu "Memory layout options"
  104. config KERNEL_RAM_BASE_ADDRESS
  105. hex "Base address of kernel RAM"
  106. default "0x90000000"
  107. config INTERRUPT_VECTOR_BASE
  108. hex "Base address of vector table"
  109. default "0x90000000"
  110. help
  111. The base address of the vector table will be programmed into
  112. the TBR register. It must be on 16MiB address boundary.
  113. config KERNEL_TEXT_ADDRESS
  114. hex "Base address of kernel"
  115. default "0x90001000"
  116. config KERNEL_ZIMAGE_BASE_ADDRESS
  117. hex "Base address of compressed vmlinux image"
  118. default "0x90700000"
  119. endmenu
  120. config PREEMPT
  121. bool "Preemptible Kernel"
  122. help
  123. This option reduces the latency of the kernel when reacting to
  124. real-time or interactive events by allowing a low priority process to
  125. be preempted even if it is in kernel mode executing a system call.
  126. This allows applications to run more reliably even when the system is
  127. under load.
  128. Say Y here if you are building a kernel for a desktop, embedded
  129. or real-time system. Say N if you are unsure.
  130. config MN10300_CURRENT_IN_E2
  131. bool "Hold current task address in E2 register"
  132. default y
  133. help
  134. This option removes the E2/R2 register from the set available to gcc
  135. for normal use and instead uses it to store the address of the
  136. current process's task_struct whilst in the kernel.
  137. This means the kernel doesn't need to calculate the address each time
  138. "current" is used (take SP, AND with mask and dereference pointer
  139. just to get the address), and instead can just use E2+offset
  140. addressing each time.
  141. This has no effect on userspace.
  142. config MN10300_USING_JTAG
  143. bool "Using JTAG to debug kernel"
  144. default y
  145. help
  146. This options indicates that JTAG will be used to debug the kernel. It
  147. suppresses the use of certain hardware debugging features, such as
  148. single-stepping, which are taken over completely by the JTAG unit.
  149. config MN10300_RTC
  150. bool "Using MN10300 RTC"
  151. depends on MN10300_PROC_MN103E010
  152. default n
  153. help
  154. This option enables support for the RTC, thus enabling time to be
  155. tracked, even when system is powered down. This is available on-chip
  156. on the MN103E010.
  157. config MN10300_WD_TIMER
  158. bool "Using MN10300 watchdog timer"
  159. default y
  160. help
  161. This options indicates that the watchdog timer will be used.
  162. config PCI
  163. bool "Use PCI"
  164. depends on MN10300_UNIT_ASB2305
  165. default y
  166. help
  167. Some systems (such as the ASB2305) have PCI onboard. If you have one
  168. of these boards and you wish to use the PCI facilities, say Y here.
  169. The PCI-HOWTO, available from
  170. <http://www.tldp.org/docs.html#howto>, contains valuable
  171. information about which PCI hardware does work under Linux and which
  172. doesn't.
  173. source "drivers/pci/Kconfig"
  174. source "drivers/pcmcia/Kconfig"
  175. menu "MN10300 internal serial options"
  176. config MN10300_PROC_HAS_TTYSM0
  177. bool
  178. default n
  179. config MN10300_PROC_HAS_TTYSM1
  180. bool
  181. default n
  182. config MN10300_PROC_HAS_TTYSM2
  183. bool
  184. default n
  185. config MN10300_TTYSM
  186. bool "Support for ttySM serial ports"
  187. depends on MN10300
  188. default y
  189. select SERIAL_CORE
  190. help
  191. This option enables support for the on-chip serial ports that the
  192. MN10300 has available.
  193. config MN10300_TTYSM_CONSOLE
  194. bool "Support for console on ttySM serial ports"
  195. depends on MN10300_TTYSM
  196. select SERIAL_CORE_CONSOLE
  197. help
  198. This option enables support for a console on the on-chip serial ports
  199. that the MN10300 has available.
  200. #
  201. # /dev/ttySM0
  202. #
  203. config MN10300_TTYSM0
  204. bool "Enable SIF0 (/dev/ttySM0)"
  205. depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
  206. help
  207. Enable access to SIF0 through /dev/ttySM0 or gdb-stub
  208. choice
  209. prompt "Select the timer to supply the clock for SIF0"
  210. default MN10300_TTYSM0_TIMER8
  211. depends on MN10300_TTYSM0
  212. config MN10300_TTYSM0_TIMER8
  213. bool "Use timer 8 (16-bit)"
  214. config MN10300_TTYSM0_TIMER2
  215. bool "Use timer 2 (8-bit)"
  216. endchoice
  217. #
  218. # /dev/ttySM1
  219. #
  220. config MN10300_TTYSM1
  221. bool "Enable SIF1 (/dev/ttySM1)"
  222. depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
  223. help
  224. Enable access to SIF1 through /dev/ttySM1 or gdb-stub
  225. choice
  226. prompt "Select the timer to supply the clock for SIF1"
  227. default MN10300_TTYSM0_TIMER9
  228. depends on MN10300_TTYSM1
  229. config MN10300_TTYSM1_TIMER9
  230. bool "Use timer 9 (16-bit)"
  231. config MN10300_TTYSM1_TIMER3
  232. bool "Use timer 3 (8-bit)"
  233. endchoice
  234. #
  235. # /dev/ttySM2
  236. #
  237. config MN10300_TTYSM2
  238. bool "Enable SIF2 (/dev/ttySM2)"
  239. depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
  240. help
  241. Enable access to SIF2 through /dev/ttySM2 or gdb-stub
  242. choice
  243. prompt "Select the timer to supply the clock for SIF2"
  244. default MN10300_TTYSM0_TIMER10
  245. depends on MN10300_TTYSM2
  246. config MN10300_TTYSM2_TIMER10
  247. bool "Use timer 10 (16-bit)"
  248. endchoice
  249. config MN10300_TTYSM2_CTS
  250. bool "Enable the use of the CTS line /dev/ttySM2"
  251. depends on MN10300_TTYSM2
  252. endmenu
  253. source "mm/Kconfig"
  254. menu "Power management options"
  255. source kernel/power/Kconfig
  256. endmenu
  257. endmenu
  258. menu "Executable formats"
  259. source "fs/Kconfig.binfmt"
  260. endmenu
  261. source "net/Kconfig"
  262. source "drivers/Kconfig"
  263. source "fs/Kconfig"
  264. source "arch/mn10300/Kconfig.debug"
  265. source "security/Kconfig"
  266. source "crypto/Kconfig"
  267. source "lib/Kconfig"