Kconfig 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385
  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 PREEMPT_BKL
  137. bool "Preempt The Big Kernel Lock"
  138. depends on PREEMPT
  139. default y
  140. help
  141. This option reduces the latency of the kernel by making the
  142. big kernel lock preemptible.
  143. Say Y here if you are building a kernel for a desktop system.
  144. Say N if you are unsure.
  145. config MN10300_CURRENT_IN_E2
  146. bool "Hold current task address in E2 register"
  147. default y
  148. help
  149. This option removes the E2/R2 register from the set available to gcc
  150. for normal use and instead uses it to store the address of the
  151. current process's task_struct whilst in the kernel.
  152. This means the kernel doesn't need to calculate the address each time
  153. "current" is used (take SP, AND with mask and dereference pointer
  154. just to get the address), and instead can just use E2+offset
  155. addressing each time.
  156. This has no effect on userspace.
  157. config MN10300_USING_JTAG
  158. bool "Using JTAG to debug kernel"
  159. default y
  160. help
  161. This options indicates that JTAG will be used to debug the kernel. It
  162. suppresses the use of certain hardware debugging features, such as
  163. single-stepping, which are taken over completely by the JTAG unit.
  164. config MN10300_RTC
  165. bool "Using MN10300 RTC"
  166. depends on MN10300_PROC_MN103E010
  167. default n
  168. help
  169. This option enables support for the RTC, thus enabling time to be
  170. tracked, even when system is powered down. This is available on-chip
  171. on the MN103E010.
  172. config MN10300_WD_TIMER
  173. bool "Using MN10300 watchdog timer"
  174. default y
  175. help
  176. This options indicates that the watchdog timer will be used.
  177. config PCI
  178. bool "Use PCI"
  179. depends on MN10300_UNIT_ASB2305
  180. default y
  181. help
  182. Some systems (such as the ASB2305) have PCI onboard. If you have one
  183. of these boards and you wish to use the PCI facilities, say Y here.
  184. The PCI-HOWTO, available from
  185. <http://www.tldp.org/docs.html#howto>, contains valuable
  186. information about which PCI hardware does work under Linux and which
  187. doesn't.
  188. source "drivers/pci/Kconfig"
  189. source "drivers/pcmcia/Kconfig"
  190. menu "MN10300 internal serial options"
  191. config MN10300_PROC_HAS_TTYSM0
  192. bool
  193. default n
  194. config MN10300_PROC_HAS_TTYSM1
  195. bool
  196. default n
  197. config MN10300_PROC_HAS_TTYSM2
  198. bool
  199. default n
  200. config MN10300_TTYSM
  201. bool "Support for ttySM serial ports"
  202. depends on MN10300
  203. default y
  204. select SERIAL_CORE
  205. help
  206. This option enables support for the on-chip serial ports that the
  207. MN10300 has available.
  208. config MN10300_TTYSM_CONSOLE
  209. bool "Support for console on ttySM serial ports"
  210. depends on MN10300_TTYSM
  211. select SERIAL_CORE_CONSOLE
  212. help
  213. This option enables support for a console on the on-chip serial ports
  214. that the MN10300 has available.
  215. #
  216. # /dev/ttySM0
  217. #
  218. config MN10300_TTYSM0
  219. bool "Enable SIF0 (/dev/ttySM0)"
  220. depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM0
  221. help
  222. Enable access to SIF0 through /dev/ttySM0 or gdb-stub
  223. choice
  224. prompt "Select the timer to supply the clock for SIF0"
  225. default MN10300_TTYSM0_TIMER8
  226. depends on MN10300_TTYSM0
  227. config MN10300_TTYSM0_TIMER8
  228. bool "Use timer 8 (16-bit)"
  229. config MN10300_TTYSM0_TIMER2
  230. bool "Use timer 2 (8-bit)"
  231. endchoice
  232. #
  233. # /dev/ttySM1
  234. #
  235. config MN10300_TTYSM1
  236. bool "Enable SIF1 (/dev/ttySM1)"
  237. depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM1
  238. help
  239. Enable access to SIF1 through /dev/ttySM1 or gdb-stub
  240. choice
  241. prompt "Select the timer to supply the clock for SIF1"
  242. default MN10300_TTYSM0_TIMER9
  243. depends on MN10300_TTYSM1
  244. config MN10300_TTYSM1_TIMER9
  245. bool "Use timer 9 (16-bit)"
  246. config MN10300_TTYSM1_TIMER3
  247. bool "Use timer 3 (8-bit)"
  248. endchoice
  249. #
  250. # /dev/ttySM2
  251. #
  252. config MN10300_TTYSM2
  253. bool "Enable SIF2 (/dev/ttySM2)"
  254. depends on MN10300_TTYSM && MN10300_PROC_HAS_TTYSM2
  255. help
  256. Enable access to SIF2 through /dev/ttySM2 or gdb-stub
  257. choice
  258. prompt "Select the timer to supply the clock for SIF2"
  259. default MN10300_TTYSM0_TIMER10
  260. depends on MN10300_TTYSM2
  261. config MN10300_TTYSM2_TIMER10
  262. bool "Use timer 10 (16-bit)"
  263. endchoice
  264. config MN10300_TTYSM2_CTS
  265. bool "Enable the use of the CTS line /dev/ttySM2"
  266. depends on MN10300_TTYSM2
  267. endmenu
  268. source "mm/Kconfig"
  269. menu "Power management options"
  270. source kernel/power/Kconfig
  271. endmenu
  272. endmenu
  273. menu "Executable formats"
  274. source "fs/Kconfig.binfmt"
  275. endmenu
  276. source "net/Kconfig"
  277. source "drivers/Kconfig"
  278. source "fs/Kconfig"
  279. source "arch/mn10300/Kconfig.debug"
  280. source "security/Kconfig"
  281. source "crypto/Kconfig"
  282. source "lib/Kconfig"
  283. source "arch/mn10300/oprofile/Kconfig"