Kconfig 21 KB

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