Kconfig 21 KB

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