Kconfig 7.9 KB

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