Kconfig 7.8 KB

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