Kconfig 21 KB

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