Kconfig 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908
  1. config SUPERH
  2. def_bool y
  3. select EXPERT
  4. select CLKDEV_LOOKUP
  5. select HAVE_IDE if HAS_IOPORT
  6. select HAVE_MEMBLOCK
  7. select HAVE_MEMBLOCK_NODE_MAP
  8. select HAVE_OPROFILE
  9. select HAVE_GENERIC_DMA_COHERENT
  10. select HAVE_ARCH_TRACEHOOK
  11. select HAVE_DMA_API_DEBUG
  12. select HAVE_DMA_ATTRS
  13. select HAVE_IRQ_WORK
  14. select HAVE_PERF_EVENTS
  15. select ARCH_HAVE_NMI_SAFE_CMPXCHG if (GUSA_RB || CPU_SH4A)
  16. select PERF_USE_VMALLOC
  17. select HAVE_KERNEL_GZIP
  18. select HAVE_KERNEL_BZIP2
  19. select HAVE_KERNEL_LZMA
  20. select HAVE_KERNEL_XZ
  21. select HAVE_KERNEL_LZO
  22. select HAVE_SYSCALL_TRACEPOINTS
  23. select HAVE_REGS_AND_STACK_ACCESS_API
  24. select HAVE_GENERIC_HARDIRQS
  25. select HAVE_SPARSE_IRQ
  26. select IRQ_FORCED_THREADING
  27. select RTC_LIB
  28. select GENERIC_ATOMIC64
  29. select GENERIC_IRQ_SHOW
  30. help
  31. The SuperH is a RISC processor targeted for use in embedded systems
  32. and consumer electronics; it was also used in the Sega Dreamcast
  33. gaming console. The SuperH port has a home page at
  34. <http://www.linux-sh.org/>.
  35. config SUPERH32
  36. def_bool ARCH = "sh"
  37. select HAVE_KPROBES
  38. select HAVE_KRETPROBES
  39. select HAVE_IOREMAP_PROT if MMU && !X2TLB
  40. select HAVE_FUNCTION_TRACER
  41. select HAVE_FTRACE_MCOUNT_RECORD
  42. select HAVE_DYNAMIC_FTRACE
  43. select HAVE_FUNCTION_TRACE_MCOUNT_TEST
  44. select HAVE_FTRACE_NMI_ENTER if DYNAMIC_FTRACE
  45. select HAVE_FUNCTION_GRAPH_TRACER
  46. select HAVE_ARCH_KGDB
  47. select HAVE_HW_BREAKPOINT
  48. select HAVE_MIXED_BREAKPOINTS_REGS
  49. select PERF_EVENTS
  50. select ARCH_HIBERNATION_POSSIBLE if MMU
  51. select SPARSE_IRQ
  52. config SUPERH64
  53. def_bool ARCH = "sh64"
  54. config ARCH_DEFCONFIG
  55. string
  56. default "arch/sh/configs/shx3_defconfig" if SUPERH32
  57. default "arch/sh/configs/cayman_defconfig" if SUPERH64
  58. config RWSEM_GENERIC_SPINLOCK
  59. def_bool y
  60. config RWSEM_XCHGADD_ALGORITHM
  61. bool
  62. config GENERIC_BUG
  63. def_bool y
  64. depends on BUG && SUPERH32
  65. config GENERIC_CSUM
  66. def_bool y
  67. depends on SUPERH64
  68. config GENERIC_HWEIGHT
  69. def_bool y
  70. config IRQ_PER_CPU
  71. def_bool y
  72. config GENERIC_GPIO
  73. def_bool n
  74. config GENERIC_CALIBRATE_DELAY
  75. bool
  76. config GENERIC_CLOCKEVENTS
  77. def_bool y
  78. config GENERIC_CLOCKEVENTS_BROADCAST
  79. bool
  80. config GENERIC_CMOS_UPDATE
  81. def_bool y
  82. depends on SH_SH03 || SH_DREAMCAST
  83. config GENERIC_LOCKBREAK
  84. def_bool y
  85. depends on SMP && PREEMPT
  86. config ARCH_SUSPEND_POSSIBLE
  87. def_bool n
  88. config ARCH_HIBERNATION_POSSIBLE
  89. def_bool n
  90. config SYS_SUPPORTS_APM_EMULATION
  91. bool
  92. select ARCH_SUSPEND_POSSIBLE
  93. config SYS_SUPPORTS_HUGETLBFS
  94. bool
  95. config SYS_SUPPORTS_SMP
  96. bool
  97. config SYS_SUPPORTS_NUMA
  98. bool
  99. config SYS_SUPPORTS_PCI
  100. bool
  101. config SYS_SUPPORTS_CMT
  102. bool
  103. config SYS_SUPPORTS_MTU2
  104. bool
  105. config SYS_SUPPORTS_TMU
  106. bool
  107. config STACKTRACE_SUPPORT
  108. def_bool y
  109. config LOCKDEP_SUPPORT
  110. def_bool y
  111. config HAVE_LATENCYTOP_SUPPORT
  112. def_bool y
  113. config ARCH_HAS_ILOG2_U32
  114. def_bool n
  115. config ARCH_HAS_ILOG2_U64
  116. def_bool n
  117. config ARCH_NO_VIRT_TO_BUS
  118. def_bool y
  119. config ARCH_HAS_DEFAULT_IDLE
  120. def_bool y
  121. config ARCH_HAS_CPU_IDLE_WAIT
  122. def_bool y
  123. config NO_IOPORT
  124. def_bool !PCI
  125. depends on !SH_CAYMAN && !SH_SH4202_MICRODEV && !SH_SHMIN
  126. config IO_TRAPPED
  127. bool
  128. config DMA_COHERENT
  129. bool
  130. config DMA_NONCOHERENT
  131. def_bool !DMA_COHERENT
  132. config NEED_DMA_MAP_STATE
  133. def_bool DMA_NONCOHERENT
  134. config NEED_SG_DMA_LENGTH
  135. def_bool y
  136. source "init/Kconfig"
  137. source "kernel/Kconfig.freezer"
  138. menu "System type"
  139. #
  140. # Processor families
  141. #
  142. config CPU_SH2
  143. bool
  144. config CPU_SH2A
  145. bool
  146. select CPU_SH2
  147. select UNCACHED_MAPPING
  148. config CPU_SH3
  149. bool
  150. select CPU_HAS_INTEVT
  151. select CPU_HAS_SR_RB
  152. select SYS_SUPPORTS_TMU
  153. config CPU_SH4
  154. bool
  155. select CPU_HAS_INTEVT
  156. select CPU_HAS_SR_RB
  157. select CPU_HAS_FPU if !CPU_SH4AL_DSP
  158. select SYS_SUPPORTS_TMU
  159. select SYS_SUPPORTS_HUGETLBFS if MMU
  160. config CPU_SH4A
  161. bool
  162. select CPU_SH4
  163. config CPU_SH4AL_DSP
  164. bool
  165. select CPU_SH4A
  166. select CPU_HAS_DSP
  167. config CPU_SH5
  168. bool
  169. select CPU_HAS_FPU
  170. select SYS_SUPPORTS_TMU
  171. select SYS_SUPPORTS_HUGETLBFS if MMU
  172. config CPU_SHX2
  173. bool
  174. config CPU_SHX3
  175. bool
  176. select DMA_COHERENT
  177. select SYS_SUPPORTS_SMP
  178. select SYS_SUPPORTS_NUMA
  179. config ARCH_SHMOBILE
  180. bool
  181. select ARCH_SUSPEND_POSSIBLE
  182. select PM
  183. select PM_RUNTIME
  184. config CPU_HAS_PMU
  185. depends on CPU_SH4 || CPU_SH4A
  186. default y
  187. bool
  188. if SUPERH32
  189. choice
  190. prompt "Processor sub-type selection"
  191. #
  192. # Processor subtypes
  193. #
  194. # SH-2 Processor Support
  195. config CPU_SUBTYPE_SH7619
  196. bool "Support SH7619 processor"
  197. select CPU_SH2
  198. select SYS_SUPPORTS_CMT
  199. # SH-2A Processor Support
  200. config CPU_SUBTYPE_SH7201
  201. bool "Support SH7201 processor"
  202. select CPU_SH2A
  203. select CPU_HAS_FPU
  204. select SYS_SUPPORTS_MTU2
  205. config CPU_SUBTYPE_SH7203
  206. bool "Support SH7203 processor"
  207. select CPU_SH2A
  208. select CPU_HAS_FPU
  209. select SYS_SUPPORTS_CMT
  210. select SYS_SUPPORTS_MTU2
  211. select ARCH_WANT_OPTIONAL_GPIOLIB
  212. config CPU_SUBTYPE_SH7206
  213. bool "Support SH7206 processor"
  214. select CPU_SH2A
  215. select SYS_SUPPORTS_CMT
  216. select SYS_SUPPORTS_MTU2
  217. config CPU_SUBTYPE_SH7263
  218. bool "Support SH7263 processor"
  219. select CPU_SH2A
  220. select CPU_HAS_FPU
  221. select SYS_SUPPORTS_CMT
  222. select SYS_SUPPORTS_MTU2
  223. config CPU_SUBTYPE_MXG
  224. bool "Support MX-G processor"
  225. select CPU_SH2A
  226. select SYS_SUPPORTS_MTU2
  227. help
  228. Select MX-G if running on an R8A03022BG part.
  229. # SH-3 Processor Support
  230. config CPU_SUBTYPE_SH7705
  231. bool "Support SH7705 processor"
  232. select CPU_SH3
  233. config CPU_SUBTYPE_SH7706
  234. bool "Support SH7706 processor"
  235. select CPU_SH3
  236. help
  237. Select SH7706 if you have a 133 Mhz SH-3 HD6417706 CPU.
  238. config CPU_SUBTYPE_SH7707
  239. bool "Support SH7707 processor"
  240. select CPU_SH3
  241. help
  242. Select SH7707 if you have a 60 Mhz SH-3 HD6417707 CPU.
  243. config CPU_SUBTYPE_SH7708
  244. bool "Support SH7708 processor"
  245. select CPU_SH3
  246. help
  247. Select SH7708 if you have a 60 Mhz SH-3 HD6417708S or
  248. if you have a 100 Mhz SH-3 HD6417708R CPU.
  249. config CPU_SUBTYPE_SH7709
  250. bool "Support SH7709 processor"
  251. select CPU_SH3
  252. help
  253. Select SH7709 if you have a 80 Mhz SH-3 HD6417709 CPU.
  254. config CPU_SUBTYPE_SH7710
  255. bool "Support SH7710 processor"
  256. select CPU_SH3
  257. select CPU_HAS_DSP
  258. help
  259. Select SH7710 if you have a SH3-DSP SH7710 CPU.
  260. config CPU_SUBTYPE_SH7712
  261. bool "Support SH7712 processor"
  262. select CPU_SH3
  263. select CPU_HAS_DSP
  264. help
  265. Select SH7712 if you have a SH3-DSP SH7712 CPU.
  266. config CPU_SUBTYPE_SH7720
  267. bool "Support SH7720 processor"
  268. select CPU_SH3
  269. select CPU_HAS_DSP
  270. select SYS_SUPPORTS_CMT
  271. select ARCH_WANT_OPTIONAL_GPIOLIB
  272. select USB_ARCH_HAS_OHCI
  273. select USB_OHCI_SH if USB_OHCI_HCD
  274. help
  275. Select SH7720 if you have a SH3-DSP SH7720 CPU.
  276. config CPU_SUBTYPE_SH7721
  277. bool "Support SH7721 processor"
  278. select CPU_SH3
  279. select CPU_HAS_DSP
  280. select SYS_SUPPORTS_CMT
  281. select USB_ARCH_HAS_OHCI
  282. select USB_OHCI_SH if USB_OHCI_HCD
  283. help
  284. Select SH7721 if you have a SH3-DSP SH7721 CPU.
  285. # SH-4 Processor Support
  286. config CPU_SUBTYPE_SH7750
  287. bool "Support SH7750 processor"
  288. select CPU_SH4
  289. help
  290. Select SH7750 if you have a 200 Mhz SH-4 HD6417750 CPU.
  291. config CPU_SUBTYPE_SH7091
  292. bool "Support SH7091 processor"
  293. select CPU_SH4
  294. help
  295. Select SH7091 if you have an SH-4 based Sega device (such as
  296. the Dreamcast, Naomi, and Naomi 2).
  297. config CPU_SUBTYPE_SH7750R
  298. bool "Support SH7750R processor"
  299. select CPU_SH4
  300. config CPU_SUBTYPE_SH7750S
  301. bool "Support SH7750S processor"
  302. select CPU_SH4
  303. config CPU_SUBTYPE_SH7751
  304. bool "Support SH7751 processor"
  305. select CPU_SH4
  306. help
  307. Select SH7751 if you have a 166 Mhz SH-4 HD6417751 CPU,
  308. or if you have a HD6417751R CPU.
  309. config CPU_SUBTYPE_SH7751R
  310. bool "Support SH7751R processor"
  311. select CPU_SH4
  312. config CPU_SUBTYPE_SH7760
  313. bool "Support SH7760 processor"
  314. select CPU_SH4
  315. config CPU_SUBTYPE_SH4_202
  316. bool "Support SH4-202 processor"
  317. select CPU_SH4
  318. # SH-4A Processor Support
  319. config CPU_SUBTYPE_SH7723
  320. bool "Support SH7723 processor"
  321. select CPU_SH4A
  322. select CPU_SHX2
  323. select ARCH_SHMOBILE
  324. select ARCH_SPARSEMEM_ENABLE
  325. select SYS_SUPPORTS_CMT
  326. select ARCH_WANT_OPTIONAL_GPIOLIB
  327. help
  328. Select SH7723 if you have an SH-MobileR2 CPU.
  329. config CPU_SUBTYPE_SH7724
  330. bool "Support SH7724 processor"
  331. select CPU_SH4A
  332. select CPU_SHX2
  333. select ARCH_SHMOBILE
  334. select ARCH_SPARSEMEM_ENABLE
  335. select SYS_SUPPORTS_CMT
  336. select ARCH_WANT_OPTIONAL_GPIOLIB
  337. help
  338. Select SH7724 if you have an SH-MobileR2R CPU.
  339. config CPU_SUBTYPE_SH7757
  340. bool "Support SH7757 processor"
  341. select CPU_SH4A
  342. select CPU_SHX2
  343. select ARCH_WANT_OPTIONAL_GPIOLIB
  344. select USB_ARCH_HAS_OHCI
  345. select USB_ARCH_HAS_EHCI
  346. help
  347. Select SH7757 if you have a SH4A SH7757 CPU.
  348. config CPU_SUBTYPE_SH7763
  349. bool "Support SH7763 processor"
  350. select CPU_SH4A
  351. select USB_ARCH_HAS_OHCI
  352. select USB_OHCI_SH if USB_OHCI_HCD
  353. help
  354. Select SH7763 if you have a SH4A SH7763(R5S77631) CPU.
  355. config CPU_SUBTYPE_SH7770
  356. bool "Support SH7770 processor"
  357. select CPU_SH4A
  358. config CPU_SUBTYPE_SH7780
  359. bool "Support SH7780 processor"
  360. select CPU_SH4A
  361. config CPU_SUBTYPE_SH7785
  362. bool "Support SH7785 processor"
  363. select CPU_SH4A
  364. select CPU_SHX2
  365. select ARCH_SPARSEMEM_ENABLE
  366. select SYS_SUPPORTS_NUMA
  367. select ARCH_WANT_OPTIONAL_GPIOLIB
  368. config CPU_SUBTYPE_SH7786
  369. bool "Support SH7786 processor"
  370. select CPU_SH4A
  371. select CPU_SHX3
  372. select CPU_HAS_PTEAEX
  373. select GENERIC_CLOCKEVENTS_BROADCAST if SMP
  374. select ARCH_WANT_OPTIONAL_GPIOLIB
  375. select USB_ARCH_HAS_OHCI
  376. select USB_OHCI_SH if USB_OHCI_HCD
  377. select USB_ARCH_HAS_EHCI
  378. select USB_EHCI_SH if USB_EHCI_HCD
  379. config CPU_SUBTYPE_SHX3
  380. bool "Support SH-X3 processor"
  381. select CPU_SH4A
  382. select CPU_SHX3
  383. select GENERIC_CLOCKEVENTS_BROADCAST if SMP
  384. select ARCH_REQUIRE_GPIOLIB
  385. # SH4AL-DSP Processor Support
  386. config CPU_SUBTYPE_SH7343
  387. bool "Support SH7343 processor"
  388. select CPU_SH4AL_DSP
  389. select ARCH_SHMOBILE
  390. select SYS_SUPPORTS_CMT
  391. config CPU_SUBTYPE_SH7722
  392. bool "Support SH7722 processor"
  393. select CPU_SH4AL_DSP
  394. select CPU_SHX2
  395. select ARCH_SHMOBILE
  396. select ARCH_SPARSEMEM_ENABLE
  397. select SYS_SUPPORTS_NUMA
  398. select SYS_SUPPORTS_CMT
  399. select ARCH_WANT_OPTIONAL_GPIOLIB
  400. config CPU_SUBTYPE_SH7366
  401. bool "Support SH7366 processor"
  402. select CPU_SH4AL_DSP
  403. select CPU_SHX2
  404. select ARCH_SHMOBILE
  405. select ARCH_SPARSEMEM_ENABLE
  406. select SYS_SUPPORTS_NUMA
  407. select SYS_SUPPORTS_CMT
  408. endchoice
  409. endif
  410. if SUPERH64
  411. choice
  412. prompt "Processor sub-type selection"
  413. # SH-5 Processor Support
  414. config CPU_SUBTYPE_SH5_101
  415. bool "Support SH5-101 processor"
  416. select CPU_SH5
  417. config CPU_SUBTYPE_SH5_103
  418. bool "Support SH5-103 processor"
  419. select CPU_SH5
  420. endchoice
  421. endif
  422. source "arch/sh/mm/Kconfig"
  423. source "arch/sh/Kconfig.cpu"
  424. source "arch/sh/boards/Kconfig"
  425. menu "Timer and clock configuration"
  426. config SH_TIMER_TMU
  427. bool "TMU timer driver"
  428. depends on SYS_SUPPORTS_TMU
  429. default y
  430. help
  431. This enables the build of the TMU timer driver.
  432. config SH_TIMER_CMT
  433. bool "CMT timer driver"
  434. depends on SYS_SUPPORTS_CMT
  435. default y
  436. help
  437. This enables build of the CMT timer driver.
  438. config SH_TIMER_MTU2
  439. bool "MTU2 timer driver"
  440. depends on SYS_SUPPORTS_MTU2
  441. default y
  442. help
  443. This enables build of the MTU2 timer driver.
  444. config SH_PCLK_FREQ
  445. int "Peripheral clock frequency (in Hz)"
  446. depends on SH_CLK_CPG_LEGACY
  447. default "31250000" if CPU_SUBTYPE_SH7619
  448. default "33333333" if CPU_SUBTYPE_SH7770 || \
  449. CPU_SUBTYPE_SH7760 || \
  450. CPU_SUBTYPE_SH7705 || \
  451. CPU_SUBTYPE_SH7203 || \
  452. CPU_SUBTYPE_SH7206 || \
  453. CPU_SUBTYPE_SH7263 || \
  454. CPU_SUBTYPE_MXG
  455. default "60000000" if CPU_SUBTYPE_SH7751 || CPU_SUBTYPE_SH7751R
  456. default "66000000" if CPU_SUBTYPE_SH4_202
  457. default "50000000"
  458. help
  459. This option is used to specify the peripheral clock frequency.
  460. This is necessary for determining the reference clock value on
  461. platforms lacking an RTC.
  462. config SH_CLK_CPG
  463. def_bool y
  464. config SH_CLK_CPG_LEGACY
  465. depends on SH_CLK_CPG
  466. def_bool y if !CPU_SUBTYPE_SH7785 && !ARCH_SHMOBILE && \
  467. !CPU_SHX3 && !CPU_SUBTYPE_SH7757
  468. source "kernel/time/Kconfig"
  469. endmenu
  470. menu "CPU Frequency scaling"
  471. source "drivers/cpufreq/Kconfig"
  472. config SH_CPU_FREQ
  473. tristate "SuperH CPU Frequency driver"
  474. depends on CPU_FREQ
  475. select CPU_FREQ_TABLE
  476. help
  477. This adds the cpufreq driver for SuperH. Any CPU that supports
  478. clock rate rounding through the clock framework can use this
  479. driver. While it will make the kernel slightly larger, this is
  480. harmless for CPUs that don't support rate rounding. The driver
  481. will also generate a notice in the boot log before disabling
  482. itself if the CPU in question is not capable of rate rounding.
  483. For details, take a look at <file:Documentation/cpu-freq>.
  484. If unsure, say N.
  485. endmenu
  486. source "arch/sh/drivers/Kconfig"
  487. endmenu
  488. menu "Kernel features"
  489. source kernel/Kconfig.hz
  490. config KEXEC
  491. bool "kexec system call (EXPERIMENTAL)"
  492. depends on SUPERH32 && EXPERIMENTAL && MMU
  493. help
  494. kexec is a system call that implements the ability to shutdown your
  495. current kernel, and to start another kernel. It is like a reboot
  496. but it is independent of the system firmware. And like a reboot
  497. you can start any kernel with it, not just Linux.
  498. The name comes from the similarity to the exec system call.
  499. It is an ongoing process to be certain the hardware in a machine
  500. is properly shutdown, so do not be surprised if this code does not
  501. initially work for you. It may help to enable device hotplugging
  502. support. As of this writing the exact hardware interface is
  503. strongly in flux, so no good recommendation can be made.
  504. config CRASH_DUMP
  505. bool "kernel crash dumps (EXPERIMENTAL)"
  506. depends on SUPERH32 && EXPERIMENTAL && BROKEN_ON_SMP
  507. help
  508. Generate crash dump after being started by kexec.
  509. This should be normally only set in special crash dump kernels
  510. which are loaded in the main kernel with kexec-tools into
  511. a specially reserved region and then later executed after
  512. a crash by kdump/kexec. The crash dump kernel must be compiled
  513. to a memory address not used by the main kernel using
  514. PHYSICAL_START.
  515. For more details see Documentation/kdump/kdump.txt
  516. config KEXEC_JUMP
  517. bool "kexec jump (EXPERIMENTAL)"
  518. depends on SUPERH32 && KEXEC && HIBERNATION && EXPERIMENTAL
  519. help
  520. Jump between original kernel and kexeced kernel and invoke
  521. code via KEXEC
  522. config PHYSICAL_START
  523. hex "Physical address where the kernel is loaded" if (EXPERT || CRASH_DUMP)
  524. default MEMORY_START
  525. ---help---
  526. This gives the physical address where the kernel is loaded
  527. and is ordinarily the same as MEMORY_START.
  528. Different values are primarily used in the case of kexec on panic
  529. where the fail safe kernel needs to run at a different address
  530. than the panic-ed kernel.
  531. config SECCOMP
  532. bool "Enable seccomp to safely compute untrusted bytecode"
  533. depends on PROC_FS
  534. help
  535. This kernel feature is useful for number crunching applications
  536. that may need to compute untrusted bytecode during their
  537. execution. By using pipes or other transports made available to
  538. the process as file descriptors supporting the read/write
  539. syscalls, it's possible to isolate those applications in
  540. their own address space using seccomp. Once seccomp is
  541. enabled via prctl, it cannot be disabled and the task is only
  542. allowed to execute a few safe syscalls defined by each seccomp
  543. mode.
  544. If unsure, say N.
  545. config SMP
  546. bool "Symmetric multi-processing support"
  547. depends on SYS_SUPPORTS_SMP
  548. select USE_GENERIC_SMP_HELPERS
  549. ---help---
  550. This enables support for systems with more than one CPU. If you have
  551. a system with only one CPU, like most personal computers, say N. If
  552. you have a system with more than one CPU, say Y.
  553. If you say N here, the kernel will run on single and multiprocessor
  554. machines, but will use only one CPU of a multiprocessor machine. If
  555. you say Y here, the kernel will run on many, but not all,
  556. singleprocessor machines. On a singleprocessor machine, the kernel
  557. will run faster if you say N here.
  558. People using multiprocessor machines who say Y here should also say
  559. Y to "Enhanced Real Time Clock Support", below.
  560. See also <file:Documentation/nmi_watchdog.txt> and the SMP-HOWTO
  561. available at <http://www.tldp.org/docs.html#howto>.
  562. If you don't know what to do here, say N.
  563. config NR_CPUS
  564. int "Maximum number of CPUs (2-32)"
  565. range 2 32
  566. depends on SMP
  567. default "4" if CPU_SUBTYPE_SHX3
  568. default "2"
  569. help
  570. This allows you to specify the maximum number of CPUs which this
  571. kernel will support. The maximum supported value is 32 and the
  572. minimum value which makes sense is 2.
  573. This is purely to save memory - each supported CPU adds
  574. approximately eight kilobytes to the kernel image.
  575. config HOTPLUG_CPU
  576. bool "Support for hot-pluggable CPUs (EXPERIMENTAL)"
  577. depends on SMP && HOTPLUG && EXPERIMENTAL
  578. help
  579. Say Y here to experiment with turning CPUs off and on. CPUs
  580. can be controlled through /sys/devices/system/cpu.
  581. source "kernel/Kconfig.preempt"
  582. config GUSA
  583. def_bool y
  584. depends on !SMP && SUPERH32
  585. help
  586. This enables support for gUSA (general UserSpace Atomicity).
  587. This is the default implementation for both UP and non-ll/sc
  588. CPUs, and is used by the libc, amongst others.
  589. For additional information, design information can be found
  590. in <http://lc.linux.or.jp/lc2002/papers/niibe0919p.pdf>.
  591. This should only be disabled for special cases where alternate
  592. atomicity implementations exist.
  593. config GUSA_RB
  594. bool "Implement atomic operations by roll-back (gRB) (EXPERIMENTAL)"
  595. depends on GUSA && CPU_SH3 || (CPU_SH4 && !CPU_SH4A)
  596. help
  597. Enabling this option will allow the kernel to implement some
  598. atomic operations using a software implementation of load-locked/
  599. store-conditional (LLSC). On machines which do not have hardware
  600. LLSC, this should be more efficient than the other alternative of
  601. disabling interrupts around the atomic sequence.
  602. config HW_PERF_EVENTS
  603. bool "Enable hardware performance counter support for perf events"
  604. depends on PERF_EVENTS && CPU_HAS_PMU
  605. default y
  606. help
  607. Enable hardware performance counter support for perf events. If
  608. disabled, perf events will use software events only.
  609. source "drivers/sh/Kconfig"
  610. endmenu
  611. menu "Boot options"
  612. config ZERO_PAGE_OFFSET
  613. hex
  614. default "0x00010000" if PAGE_SIZE_64KB || SH_RTS7751R2D || \
  615. SH_7751_SOLUTION_ENGINE
  616. default "0x00004000" if PAGE_SIZE_16KB || SH_SH03
  617. default "0x00002000" if PAGE_SIZE_8KB
  618. default "0x00001000"
  619. help
  620. This sets the default offset of zero page.
  621. config BOOT_LINK_OFFSET
  622. hex
  623. default "0x00210000" if SH_SHMIN
  624. default "0x00400000" if SH_CAYMAN
  625. default "0x00810000" if SH_7780_SOLUTION_ENGINE
  626. default "0x009e0000" if SH_TITAN
  627. default "0x01800000" if SH_SDK7780
  628. default "0x02000000" if SH_EDOSK7760
  629. default "0x00800000"
  630. help
  631. This option allows you to set the link address offset of the zImage.
  632. This can be useful if you are on a board which has a small amount of
  633. memory.
  634. config ENTRY_OFFSET
  635. hex
  636. default "0x00001000" if PAGE_SIZE_4KB
  637. default "0x00002000" if PAGE_SIZE_8KB
  638. default "0x00004000" if PAGE_SIZE_16KB
  639. default "0x00010000" if PAGE_SIZE_64KB
  640. default "0x00000000"
  641. config ROMIMAGE_MMCIF
  642. bool "Include MMCIF loader in romImage (EXPERIMENTAL)"
  643. depends on CPU_SUBTYPE_SH7724 && EXPERIMENTAL
  644. help
  645. Say Y here to include experimental MMCIF loading code in
  646. romImage. With this enabled it is possible to write the romImage
  647. kernel image to an MMC card and boot the kernel straight from
  648. the reset vector. At reset the processor Mask ROM will load the
  649. first part of the romImage which in turn loads the rest the kernel
  650. image to RAM using the MMCIF hardware block.
  651. choice
  652. prompt "Kernel command line"
  653. optional
  654. default CMDLINE_OVERWRITE
  655. help
  656. Setting this option allows the kernel command line arguments
  657. to be set.
  658. config CMDLINE_OVERWRITE
  659. bool "Overwrite bootloader kernel arguments"
  660. help
  661. Given string will overwrite any arguments passed in by
  662. a bootloader.
  663. config CMDLINE_EXTEND
  664. bool "Extend bootloader kernel arguments"
  665. help
  666. Given string will be concatenated with arguments passed in
  667. by a bootloader.
  668. endchoice
  669. config CMDLINE
  670. string "Kernel command line arguments string"
  671. depends on CMDLINE_OVERWRITE || CMDLINE_EXTEND
  672. default "console=ttySC1,115200"
  673. endmenu
  674. menu "Bus options"
  675. config SUPERHYWAY
  676. tristate "SuperHyway Bus support"
  677. depends on CPU_SUBTYPE_SH4_202
  678. config MAPLE
  679. bool "Maple Bus support"
  680. depends on SH_DREAMCAST
  681. help
  682. The Maple Bus is SEGA's serial communication bus for peripherals
  683. on the Dreamcast. Without this bus support you won't be able to
  684. get your Dreamcast keyboard etc to work, so most users
  685. probably want to say 'Y' here, unless you are only using the
  686. Dreamcast with a serial line terminal or a remote network
  687. connection.
  688. config PCI
  689. bool "PCI support"
  690. depends on SYS_SUPPORTS_PCI
  691. select PCI_DOMAINS
  692. select GENERIC_PCI_IOMAP
  693. select NO_GENERIC_PCI_IOPORT_MAP
  694. help
  695. Find out whether you have a PCI motherboard. PCI is the name of a
  696. bus system, i.e. the way the CPU talks to the other stuff inside
  697. your box. If you have PCI, say Y, otherwise N.
  698. config PCI_DOMAINS
  699. bool
  700. source "drivers/pci/pcie/Kconfig"
  701. source "drivers/pci/Kconfig"
  702. source "drivers/pcmcia/Kconfig"
  703. source "drivers/pci/hotplug/Kconfig"
  704. endmenu
  705. menu "Executable file formats"
  706. source "fs/Kconfig.binfmt"
  707. endmenu
  708. menu "Power management options (EXPERIMENTAL)"
  709. depends on EXPERIMENTAL
  710. source "kernel/power/Kconfig"
  711. source "drivers/cpuidle/Kconfig"
  712. endmenu
  713. source "net/Kconfig"
  714. source "drivers/Kconfig"
  715. source "fs/Kconfig"
  716. source "arch/sh/Kconfig.debug"
  717. source "security/Kconfig"
  718. source "crypto/Kconfig"
  719. source "lib/Kconfig"