Kconfig 7.4 KB

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