Kconfig 7.9 KB

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