Kconfig 7.9 KB

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