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