Kconfig 7.9 KB

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