Kconfig 25 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019
  1. # For a description of the syntax of this configuration file,
  2. # see Documentation/kbuild/kconfig-language.txt.
  3. #
  4. mainmenu "Linux/PowerPC Kernel Configuration"
  5. config PPC64
  6. bool "64-bit kernel"
  7. default n
  8. help
  9. This option selects whether a 32-bit or a 64-bit kernel
  10. will be built.
  11. config PPC32
  12. bool
  13. default y if !PPC64
  14. config 64BIT
  15. bool
  16. default y if PPC64
  17. config PPC_MERGE
  18. def_bool y
  19. config MMU
  20. bool
  21. default y
  22. config GENERIC_HARDIRQS
  23. bool
  24. default y
  25. config RWSEM_GENERIC_SPINLOCK
  26. bool
  27. config RWSEM_XCHGADD_ALGORITHM
  28. bool
  29. default y
  30. config GENERIC_HWEIGHT
  31. bool
  32. default y
  33. config GENERIC_CALIBRATE_DELAY
  34. bool
  35. default y
  36. config PPC
  37. bool
  38. default y
  39. config EARLY_PRINTK
  40. bool
  41. default y
  42. config COMPAT
  43. bool
  44. default y if PPC64
  45. config SYSVIPC_COMPAT
  46. bool
  47. depends on COMPAT && SYSVIPC
  48. default y
  49. # All PPC32s use generic nvram driver through ppc_md
  50. config GENERIC_NVRAM
  51. bool
  52. default y if PPC32
  53. config SCHED_NO_NO_OMIT_FRAME_POINTER
  54. bool
  55. default y
  56. config ARCH_MAY_HAVE_PC_FDC
  57. bool
  58. default y
  59. config PPC_OF
  60. def_bool y
  61. config PPC_UDBG_16550
  62. bool
  63. default n
  64. config GENERIC_TBSYNC
  65. bool
  66. default y if PPC32 && SMP
  67. default n
  68. config DEFAULT_UIMAGE
  69. bool
  70. help
  71. Used to allow a board to specify it wants a uImage built by default
  72. default n
  73. menu "Processor support"
  74. choice
  75. prompt "Processor Type"
  76. depends on PPC32
  77. default 6xx
  78. config CLASSIC32
  79. bool "6xx/7xx/74xx"
  80. select PPC_FPU
  81. select 6xx
  82. help
  83. There are four families of PowerPC chips supported. The more common
  84. types (601, 603, 604, 740, 750, 7400), the Motorola embedded
  85. versions (821, 823, 850, 855, 860, 52xx, 82xx, 83xx), the AMCC
  86. embedded versions (403 and 405) and the high end 64 bit Power
  87. processors (POWER 3, POWER4, and IBM PPC970 also known as G5).
  88. Unless you are building a kernel for one of the embedded processor
  89. systems, 64 bit IBM RS/6000 or an Apple G5, choose 6xx.
  90. Note that the kernel runs in 32-bit mode even on 64-bit chips.
  91. config PPC_52xx
  92. bool "Freescale 52xx"
  93. select 6xx
  94. select PPC_FPU
  95. config PPC_82xx
  96. bool "Freescale 82xx"
  97. select 6xx
  98. select PPC_FPU
  99. config PPC_83xx
  100. bool "Freescale 83xx"
  101. select 6xx
  102. select FSL_SOC
  103. select 83xx
  104. select PPC_FPU
  105. config PPC_85xx
  106. bool "Freescale 85xx"
  107. select E500
  108. select FSL_SOC
  109. select 85xx
  110. config 40x
  111. bool "AMCC 40x"
  112. config 44x
  113. bool "AMCC 44x"
  114. config 8xx
  115. bool "Freescale 8xx"
  116. config E200
  117. bool "Freescale e200"
  118. endchoice
  119. config POWER4_ONLY
  120. bool "Optimize for POWER4"
  121. depends on PPC64
  122. default n
  123. ---help---
  124. Cause the compiler to optimize for POWER4/POWER5/PPC970 processors.
  125. The resulting binary will not work on POWER3 or RS64 processors
  126. when compiled with binutils 2.15 or later.
  127. config POWER3
  128. bool
  129. depends on PPC64
  130. default y if !POWER4_ONLY
  131. config POWER4
  132. depends on PPC64
  133. def_bool y
  134. config 6xx
  135. bool
  136. # this is temp to handle compat with arch=ppc
  137. config 83xx
  138. bool
  139. # this is temp to handle compat with arch=ppc
  140. config 85xx
  141. bool
  142. config E500
  143. bool
  144. config PPC_FPU
  145. bool
  146. default y if PPC64
  147. config BOOKE
  148. bool
  149. depends on E200 || E500
  150. default y
  151. config FSL_BOOKE
  152. bool
  153. depends on E200 || E500
  154. default y
  155. config PTE_64BIT
  156. bool
  157. depends on 44x || E500
  158. default y if 44x
  159. default y if E500 && PHYS_64BIT
  160. config PHYS_64BIT
  161. bool 'Large physical address support' if E500
  162. depends on 44x || E500
  163. default y if 44x
  164. ---help---
  165. This option enables kernel support for larger than 32-bit physical
  166. addresses. This features is not be available on all e500 cores.
  167. If in doubt, say N here.
  168. config ALTIVEC
  169. bool "AltiVec Support"
  170. depends on CLASSIC32 || POWER4
  171. ---help---
  172. This option enables kernel support for the Altivec extensions to the
  173. PowerPC processor. The kernel currently supports saving and restoring
  174. altivec registers, and turning on the 'altivec enable' bit so user
  175. processes can execute altivec instructions.
  176. This option is only usefully if you have a processor that supports
  177. altivec (G4, otherwise known as 74xx series), but does not have
  178. any affect on a non-altivec cpu (it does, however add code to the
  179. kernel).
  180. If in doubt, say Y here.
  181. config SPE
  182. bool "SPE Support"
  183. depends on E200 || E500
  184. default y
  185. ---help---
  186. This option enables kernel support for the Signal Processing
  187. Extensions (SPE) to the PowerPC processor. The kernel currently
  188. supports saving and restoring SPE registers, and turning on the
  189. 'spe enable' bit so user processes can execute SPE instructions.
  190. This option is only useful if you have a processor that supports
  191. SPE (e500, otherwise known as 85xx series), but does not have any
  192. effect on a non-spe cpu (it does, however add code to the kernel).
  193. If in doubt, say Y here.
  194. config PPC_STD_MMU
  195. bool
  196. depends on 6xx || POWER3 || POWER4 || PPC64
  197. default y
  198. config PPC_STD_MMU_32
  199. def_bool y
  200. depends on PPC_STD_MMU && PPC32
  201. config VIRT_CPU_ACCOUNTING
  202. bool "Deterministic task and CPU time accounting"
  203. depends on PPC64
  204. default y
  205. help
  206. Select this option to enable more accurate task and CPU time
  207. accounting. This is done by reading a CPU counter on each
  208. kernel entry and exit and on transitions within the kernel
  209. between system, softirq and hardirq state, so there is a
  210. small performance impact. This also enables accounting of
  211. stolen time on logically-partitioned systems running on
  212. IBM POWER5-based machines.
  213. If in doubt, say Y here.
  214. config SMP
  215. depends on PPC_STD_MMU
  216. bool "Symmetric multi-processing support"
  217. ---help---
  218. This enables support for systems with more than one CPU. If you have
  219. a system with only one CPU, say N. If you have a system with more
  220. than one CPU, say Y. Note that the kernel does not currently
  221. support SMP machines with 603/603e/603ev or PPC750 ("G3") processors
  222. since they have inadequate hardware support for multiprocessor
  223. operation.
  224. If you say N here, the kernel will run on single and multiprocessor
  225. machines, but will use only one CPU of a multiprocessor machine. If
  226. you say Y here, the kernel will run on single-processor machines.
  227. On a single-processor machine, the kernel will run faster if you say
  228. N here.
  229. If you don't know what to do here, say N.
  230. config NR_CPUS
  231. int "Maximum number of CPUs (2-128)"
  232. range 2 128
  233. depends on SMP
  234. default "32" if PPC64
  235. default "4"
  236. config NOT_COHERENT_CACHE
  237. bool
  238. depends on 4xx || 8xx || E200
  239. default y
  240. endmenu
  241. source "init/Kconfig"
  242. menu "Platform support"
  243. depends on PPC64 || CLASSIC32
  244. choice
  245. prompt "Machine type"
  246. default PPC_MULTIPLATFORM
  247. config PPC_MULTIPLATFORM
  248. bool "Generic desktop/server/laptop"
  249. help
  250. Select this option if configuring for an IBM pSeries or
  251. RS/6000 machine, an Apple machine, or a PReP, CHRP,
  252. Maple or Cell-based machine.
  253. config PPC_ISERIES
  254. bool "IBM Legacy iSeries"
  255. depends on PPC64
  256. config EMBEDDED6xx
  257. bool "Embedded 6xx/7xx/7xxx-based board"
  258. depends on PPC32 && BROKEN
  259. config APUS
  260. bool "Amiga-APUS"
  261. depends on PPC32 && BROKEN
  262. help
  263. Select APUS if configuring for a PowerUP Amiga.
  264. More information is available at:
  265. <http://linux-apus.sourceforge.net/>.
  266. endchoice
  267. config PPC_PSERIES
  268. depends on PPC_MULTIPLATFORM && PPC64
  269. bool " IBM pSeries & new (POWER5-based) iSeries"
  270. select PPC_I8259
  271. select PPC_RTAS
  272. select RTAS_ERROR_LOGGING
  273. select PPC_UDBG_16550
  274. default y
  275. config PPC_CHRP
  276. bool " Common Hardware Reference Platform (CHRP) based machines"
  277. depends on PPC_MULTIPLATFORM && PPC32
  278. select PPC_I8259
  279. select PPC_INDIRECT_PCI
  280. select PPC_RTAS
  281. select PPC_MPC106
  282. select PPC_UDBG_16550
  283. default y
  284. config PPC_PMAC
  285. bool " Apple PowerMac based machines"
  286. depends on PPC_MULTIPLATFORM
  287. select PPC_INDIRECT_PCI if PPC32
  288. select PPC_MPC106 if PPC32
  289. default y
  290. config PPC_PMAC64
  291. bool
  292. depends on PPC_PMAC && POWER4
  293. select U3_DART
  294. select MPIC_BROKEN_U3
  295. select GENERIC_TBSYNC
  296. default y
  297. config PPC_PREP
  298. bool " PowerPC Reference Platform (PReP) based machines"
  299. depends on PPC_MULTIPLATFORM && PPC32 && BROKEN
  300. select PPC_I8259
  301. select PPC_INDIRECT_PCI
  302. select PPC_UDBG_16550
  303. default y
  304. config PPC_MAPLE
  305. depends on PPC_MULTIPLATFORM && PPC64
  306. bool " Maple 970FX Evaluation Board"
  307. select U3_DART
  308. select MPIC_BROKEN_U3
  309. select GENERIC_TBSYNC
  310. select PPC_UDBG_16550
  311. default n
  312. help
  313. This option enables support for the Maple 970FX Evaluation Board.
  314. For more informations, refer to <http://www.970eval.com>
  315. config PPC_CELL
  316. bool " Cell Broadband Processor Architecture"
  317. depends on PPC_MULTIPLATFORM && PPC64
  318. select PPC_RTAS
  319. select MMIO_NVRAM
  320. select PPC_UDBG_16550
  321. config XICS
  322. depends on PPC_PSERIES
  323. bool
  324. default y
  325. config U3_DART
  326. bool
  327. depends on PPC_MULTIPLATFORM && PPC64
  328. default n
  329. config MPIC
  330. depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE || PPC_CHRP
  331. bool
  332. default y
  333. config PPC_RTAS
  334. bool
  335. default n
  336. config RTAS_ERROR_LOGGING
  337. bool
  338. depends on PPC_RTAS
  339. default n
  340. config RTAS_PROC
  341. bool "Proc interface to RTAS"
  342. depends on PPC_RTAS
  343. default y
  344. config RTAS_FLASH
  345. tristate "Firmware flash interface"
  346. depends on PPC64 && RTAS_PROC
  347. config MMIO_NVRAM
  348. bool
  349. default n
  350. config MPIC_BROKEN_U3
  351. bool
  352. depends on PPC_MAPLE
  353. default y
  354. config CELL_IIC
  355. depends on PPC_CELL
  356. bool
  357. default y
  358. config IBMVIO
  359. depends on PPC_PSERIES || PPC_ISERIES
  360. bool
  361. default y
  362. config IBMEBUS
  363. depends on PPC_PSERIES
  364. bool "Support for GX bus based adapters"
  365. help
  366. Bus device driver for GX bus based adapters.
  367. config PPC_MPC106
  368. bool
  369. default n
  370. source "drivers/cpufreq/Kconfig"
  371. config CPU_FREQ_PMAC
  372. bool "Support for Apple PowerBooks"
  373. depends on CPU_FREQ && ADB_PMU && PPC32
  374. select CPU_FREQ_TABLE
  375. help
  376. This adds support for frequency switching on Apple PowerBooks,
  377. this currently includes some models of iBook & Titanium
  378. PowerBook.
  379. config CPU_FREQ_PMAC64
  380. bool "Support for some Apple G5s"
  381. depends on CPU_FREQ && PMAC_SMU && PPC64
  382. select CPU_FREQ_TABLE
  383. help
  384. This adds support for frequency switching on Apple iMac G5,
  385. and some of the more recent desktop G5 machines as well.
  386. config PPC601_SYNC_FIX
  387. bool "Workarounds for PPC601 bugs"
  388. depends on 6xx && (PPC_PREP || PPC_PMAC)
  389. help
  390. Some versions of the PPC601 (the first PowerPC chip) have bugs which
  391. mean that extra synchronization instructions are required near
  392. certain instructions, typically those that make major changes to the
  393. CPU state. These extra instructions reduce performance slightly.
  394. If you say N here, these extra instructions will not be included,
  395. resulting in a kernel which will run faster but may not run at all
  396. on some systems with the PPC601 chip.
  397. If in doubt, say Y here.
  398. config TAU
  399. bool "On-chip CPU temperature sensor support"
  400. depends on 6xx
  401. help
  402. G3 and G4 processors have an on-chip temperature sensor called the
  403. 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
  404. temperature within 2-4 degrees Celsius. This option shows the current
  405. on-die temperature in /proc/cpuinfo if the cpu supports it.
  406. Unfortunately, on some chip revisions, this sensor is very inaccurate
  407. and in many cases, does not work at all, so don't assume the cpu
  408. temp is actually what /proc/cpuinfo says it is.
  409. config TAU_INT
  410. bool "Interrupt driven TAU driver (DANGEROUS)"
  411. depends on TAU
  412. ---help---
  413. The TAU supports an interrupt driven mode which causes an interrupt
  414. whenever the temperature goes out of range. This is the fastest way
  415. to get notified the temp has exceeded a range. With this option off,
  416. a timer is used to re-check the temperature periodically.
  417. However, on some cpus it appears that the TAU interrupt hardware
  418. is buggy and can cause a situation which would lead unexplained hard
  419. lockups.
  420. Unless you are extending the TAU driver, or enjoy kernel/hardware
  421. debugging, leave this option off.
  422. config TAU_AVERAGE
  423. bool "Average high and low temp"
  424. depends on TAU
  425. ---help---
  426. The TAU hardware can compare the temperature to an upper and lower
  427. bound. The default behavior is to show both the upper and lower
  428. bound in /proc/cpuinfo. If the range is large, the temperature is
  429. either changing a lot, or the TAU hardware is broken (likely on some
  430. G4's). If the range is small (around 4 degrees), the temperature is
  431. relatively stable. If you say Y here, a single temperature value,
  432. halfway between the upper and lower bounds, will be reported in
  433. /proc/cpuinfo.
  434. If in doubt, say N here.
  435. endmenu
  436. source arch/powerpc/platforms/embedded6xx/Kconfig
  437. source arch/powerpc/platforms/4xx/Kconfig
  438. source arch/powerpc/platforms/83xx/Kconfig
  439. source arch/powerpc/platforms/85xx/Kconfig
  440. source arch/powerpc/platforms/8xx/Kconfig
  441. source arch/powerpc/platforms/cell/Kconfig
  442. menu "Kernel options"
  443. config HIGHMEM
  444. bool "High memory support"
  445. depends on PPC32
  446. source kernel/Kconfig.hz
  447. source kernel/Kconfig.preempt
  448. source "fs/Kconfig.binfmt"
  449. # We optimistically allocate largepages from the VM, so make the limit
  450. # large enough (16MB). This badly named config option is actually
  451. # max order + 1
  452. config FORCE_MAX_ZONEORDER
  453. int
  454. depends on PPC64
  455. default "9" if PPC_64K_PAGES
  456. default "13"
  457. config MATH_EMULATION
  458. bool "Math emulation"
  459. depends on 4xx || 8xx || E200 || E500
  460. ---help---
  461. Some PowerPC chips designed for embedded applications do not have
  462. a floating-point unit and therefore do not implement the
  463. floating-point instructions in the PowerPC instruction set. If you
  464. say Y here, the kernel will include code to emulate a floating-point
  465. unit, which will allow programs that use floating-point
  466. instructions to run.
  467. config IOMMU_VMERGE
  468. bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
  469. depends on EXPERIMENTAL && PPC64
  470. default n
  471. help
  472. Cause IO segments sent to a device for DMA to be merged virtually
  473. by the IOMMU when they happen to have been allocated contiguously.
  474. This doesn't add pressure to the IOMMU allocator. However, some
  475. drivers don't support getting large merged segments coming back
  476. from *_map_sg(). Say Y if you know the drivers you are using are
  477. properly handling this case.
  478. config HOTPLUG_CPU
  479. bool "Support for enabling/disabling CPUs"
  480. depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
  481. ---help---
  482. Say Y here to be able to disable and re-enable individual
  483. CPUs at runtime on SMP machines.
  484. Say N if you are unsure.
  485. config KEXEC
  486. bool "kexec system call (EXPERIMENTAL)"
  487. depends on PPC_MULTIPLATFORM && EXPERIMENTAL
  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 indepedent 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 similiarity 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. It may help to enable device hotplugging
  497. support. As of this writing the exact hardware interface is
  498. strongly in flux, so no good recommendation can be made.
  499. config CRASH_DUMP
  500. bool "Build a kdump crash kernel (EXPERIMENTAL)"
  501. depends on PPC_MULTIPLATFORM && PPC64 && EXPERIMENTAL
  502. help
  503. Build a kernel suitable for use as a kdump capture kernel.
  504. The kernel will be linked at a different address than normal, and
  505. so can only be used for Kdump.
  506. Don't change this unless you know what you are doing.
  507. config EMBEDDEDBOOT
  508. bool
  509. depends on 8xx || 8260
  510. default y
  511. config PC_KEYBOARD
  512. bool "PC PS/2 style Keyboard"
  513. depends on 4xx || CPM2
  514. config PPCBUG_NVRAM
  515. bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
  516. default y if PPC_PREP
  517. config IRQ_ALL_CPUS
  518. bool "Distribute interrupts on all CPUs by default"
  519. depends on SMP && !MV64360
  520. help
  521. This option gives the kernel permission to distribute IRQs across
  522. multiple CPUs. Saying N here will route all IRQs to the first
  523. CPU. Generally saying Y is safe, although some problems have been
  524. reported with SMP Power Macintoshes with this option enabled.
  525. source "arch/powerpc/platforms/pseries/Kconfig"
  526. config NUMA
  527. bool "NUMA support"
  528. depends on PPC64
  529. default y if SMP && PPC_PSERIES
  530. config NODES_SHIFT
  531. int
  532. default "4"
  533. depends on NEED_MULTIPLE_NODES
  534. config ARCH_SELECT_MEMORY_MODEL
  535. def_bool y
  536. depends on PPC64
  537. config ARCH_FLATMEM_ENABLE
  538. def_bool y
  539. depends on (PPC64 && !NUMA) || PPC32
  540. config ARCH_SPARSEMEM_ENABLE
  541. def_bool y
  542. depends on PPC64
  543. config ARCH_SPARSEMEM_DEFAULT
  544. def_bool y
  545. depends on SMP && PPC_PSERIES
  546. source "mm/Kconfig"
  547. config HAVE_ARCH_EARLY_PFN_TO_NID
  548. def_bool y
  549. depends on NEED_MULTIPLE_NODES
  550. config ARCH_MEMORY_PROBE
  551. def_bool y
  552. depends on MEMORY_HOTPLUG
  553. config PPC_64K_PAGES
  554. bool "64k page size"
  555. depends on PPC64
  556. help
  557. This option changes the kernel logical page size to 64k. On machines
  558. without processor support for 64k pages, the kernel will simulate
  559. them by loading each individual 4k page on demand transparently,
  560. while on hardware with such support, it will be used to map
  561. normal application pages.
  562. config SCHED_SMT
  563. bool "SMT (Hyperthreading) scheduler support"
  564. depends on PPC64 && SMP
  565. default off
  566. help
  567. SMT scheduler support improves the CPU scheduler's decision making
  568. when dealing with POWER5 cpus at a cost of slightly increased
  569. overhead in some places. If unsure say N here.
  570. config PROC_DEVICETREE
  571. bool "Support for device tree in /proc"
  572. depends on PROC_FS
  573. help
  574. This option adds a device-tree directory under /proc which contains
  575. an image of the device tree that the kernel copies from Open
  576. Firmware or other boot firmware. If unsure, say Y here.
  577. source "arch/powerpc/platforms/prep/Kconfig"
  578. config CMDLINE_BOOL
  579. bool "Default bootloader kernel arguments"
  580. depends on !PPC_ISERIES
  581. config CMDLINE
  582. string "Initial kernel command string"
  583. depends on CMDLINE_BOOL
  584. default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
  585. help
  586. On some platforms, there is currently no way for the boot loader to
  587. pass arguments to the kernel. For these platforms, you can supply
  588. some command-line options at build time by entering them here. In
  589. most cases you will need to specify the root device here.
  590. if !44x || BROKEN
  591. source kernel/power/Kconfig
  592. endif
  593. config SECCOMP
  594. bool "Enable seccomp to safely compute untrusted bytecode"
  595. depends on PROC_FS
  596. default y
  597. help
  598. This kernel feature is useful for number crunching applications
  599. that may need to compute untrusted bytecode during their
  600. execution. By using pipes or other transports made available to
  601. the process as file descriptors supporting the read/write
  602. syscalls, it's possible to isolate those applications in
  603. their own address space using seccomp. Once seccomp is
  604. enabled via /proc/<pid>/seccomp, it cannot be disabled
  605. and the task is only allowed to execute a few safe syscalls
  606. defined by each seccomp mode.
  607. If unsure, say Y. Only embedded should say N here.
  608. endmenu
  609. config ISA_DMA_API
  610. bool
  611. default y
  612. menu "Bus options"
  613. config ISA
  614. bool "Support for ISA-bus hardware"
  615. depends on PPC_PREP || PPC_CHRP
  616. select PPC_I8259
  617. help
  618. Find out whether you have ISA slots on your motherboard. ISA is the
  619. name of a bus system, i.e. the way the CPU talks to the other stuff
  620. inside your box. If you have an Apple machine, say N here; if you
  621. have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
  622. you have an embedded board, consult your board documentation.
  623. config GENERIC_ISA_DMA
  624. bool
  625. depends on PPC64 || POWER4 || 6xx && !CPM2
  626. default y
  627. config PPC_I8259
  628. bool
  629. default n
  630. config PPC_INDIRECT_PCI
  631. bool
  632. depends on PCI
  633. default y if 40x || 44x
  634. default n
  635. config EISA
  636. bool
  637. config SBUS
  638. bool
  639. config FSL_SOC
  640. bool
  641. # Yes MCA RS/6000s exist but Linux-PPC does not currently support any
  642. config MCA
  643. bool
  644. config PCI
  645. bool "PCI support" if 40x || CPM2 || PPC_83xx || PPC_85xx || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES)
  646. default y if !40x && !CPM2 && !8xx && !APUS && !PPC_83xx && !PPC_85xx
  647. default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
  648. default PCI_QSPAN if !4xx && !CPM2 && 8xx
  649. help
  650. Find out whether your system includes a PCI bus. PCI is the name of
  651. a bus system, i.e. the way the CPU talks to the other stuff inside
  652. your box. If you say Y here, the kernel will include drivers and
  653. infrastructure code to support PCI bus devices.
  654. config PCI_DOMAINS
  655. bool
  656. default PCI
  657. config PCI_QSPAN
  658. bool "QSpan PCI"
  659. depends on !4xx && !CPM2 && 8xx
  660. select PPC_I8259
  661. help
  662. Say Y here if you have a system based on a Motorola 8xx-series
  663. embedded processor with a QSPAN PCI interface, otherwise say N.
  664. config PCI_8260
  665. bool
  666. depends on PCI && 8260
  667. select PPC_INDIRECT_PCI
  668. default y
  669. config 8260_PCI9
  670. bool " Enable workaround for MPC826x erratum PCI 9"
  671. depends on PCI_8260 && !ADS8272
  672. default y
  673. choice
  674. prompt " IDMA channel for PCI 9 workaround"
  675. depends on 8260_PCI9
  676. config 8260_PCI9_IDMA1
  677. bool "IDMA1"
  678. config 8260_PCI9_IDMA2
  679. bool "IDMA2"
  680. config 8260_PCI9_IDMA3
  681. bool "IDMA3"
  682. config 8260_PCI9_IDMA4
  683. bool "IDMA4"
  684. endchoice
  685. source "drivers/pci/Kconfig"
  686. source "drivers/pcmcia/Kconfig"
  687. source "drivers/pci/hotplug/Kconfig"
  688. endmenu
  689. menu "Advanced setup"
  690. depends on PPC32
  691. config ADVANCED_OPTIONS
  692. bool "Prompt for advanced kernel configuration options"
  693. help
  694. This option will enable prompting for a variety of advanced kernel
  695. configuration options. These options can cause the kernel to not
  696. work if they are set incorrectly, but can be used to optimize certain
  697. aspects of kernel memory management.
  698. Unless you know what you are doing, say N here.
  699. comment "Default settings for advanced configuration options are used"
  700. depends on !ADVANCED_OPTIONS
  701. config HIGHMEM_START_BOOL
  702. bool "Set high memory pool address"
  703. depends on ADVANCED_OPTIONS && HIGHMEM
  704. help
  705. This option allows you to set the base address of the kernel virtual
  706. area used to map high memory pages. This can be useful in
  707. optimizing the layout of kernel virtual memory.
  708. Say N here unless you know what you are doing.
  709. config HIGHMEM_START
  710. hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
  711. default "0xfe000000"
  712. config LOWMEM_SIZE_BOOL
  713. bool "Set maximum low memory"
  714. depends on ADVANCED_OPTIONS
  715. help
  716. This option allows you to set the maximum amount of memory which
  717. will be used as "low memory", that is, memory which the kernel can
  718. access directly, without having to set up a kernel virtual mapping.
  719. This can be useful in optimizing the layout of kernel virtual
  720. memory.
  721. Say N here unless you know what you are doing.
  722. config LOWMEM_SIZE
  723. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  724. default "0x30000000"
  725. config KERNEL_START_BOOL
  726. bool "Set custom kernel base address"
  727. depends on ADVANCED_OPTIONS
  728. help
  729. This option allows you to set the kernel virtual address at which
  730. the kernel will map low memory (the kernel image will be linked at
  731. this address). This can be useful in optimizing the virtual memory
  732. layout of the system.
  733. Say N here unless you know what you are doing.
  734. config KERNEL_START
  735. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  736. default "0xc0000000"
  737. config TASK_SIZE_BOOL
  738. bool "Set custom user task size"
  739. depends on ADVANCED_OPTIONS
  740. help
  741. This option allows you to set the amount of virtual address space
  742. allocated to user tasks. This can be useful in optimizing the
  743. virtual memory layout of the system.
  744. Say N here unless you know what you are doing.
  745. config TASK_SIZE
  746. hex "Size of user task space" if TASK_SIZE_BOOL
  747. default "0x80000000"
  748. config CONSISTENT_START_BOOL
  749. bool "Set custom consistent memory pool address"
  750. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  751. help
  752. This option allows you to set the base virtual address
  753. of the the consistent memory pool. This pool of virtual
  754. memory is used to make consistent memory allocations.
  755. config CONSISTENT_START
  756. hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
  757. default "0xff100000" if NOT_COHERENT_CACHE
  758. config CONSISTENT_SIZE_BOOL
  759. bool "Set custom consistent memory pool size"
  760. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  761. help
  762. This option allows you to set the size of the the
  763. consistent memory pool. This pool of virtual memory
  764. is used to make consistent memory allocations.
  765. config CONSISTENT_SIZE
  766. hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
  767. default "0x00200000" if NOT_COHERENT_CACHE
  768. config BOOT_LOAD_BOOL
  769. bool "Set the boot link/load address"
  770. depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
  771. help
  772. This option allows you to set the initial load address of the zImage
  773. or zImage.initrd file. This can be useful if you are on a board
  774. which has a small amount of memory.
  775. Say N here unless you know what you are doing.
  776. config BOOT_LOAD
  777. hex "Link/load address for booting" if BOOT_LOAD_BOOL
  778. default "0x00400000" if 40x || 8xx || 8260
  779. default "0x01000000" if 44x
  780. default "0x00800000"
  781. config PIN_TLB
  782. bool "Pinned Kernel TLBs (860 ONLY)"
  783. depends on ADVANCED_OPTIONS && 8xx
  784. endmenu
  785. if PPC64
  786. config KERNEL_START
  787. hex
  788. default "0xc000000000000000"
  789. endif
  790. source "net/Kconfig"
  791. source "drivers/Kconfig"
  792. source "fs/Kconfig"
  793. # XXX source "arch/ppc/8xx_io/Kconfig"
  794. # XXX source "arch/ppc/8260_io/Kconfig"
  795. source "arch/powerpc/platforms/iseries/Kconfig"
  796. source "lib/Kconfig"
  797. menu "Instrumentation Support"
  798. depends on EXPERIMENTAL
  799. source "arch/powerpc/oprofile/Kconfig"
  800. config KPROBES
  801. bool "Kprobes (EXPERIMENTAL)"
  802. depends on PPC64 && EXPERIMENTAL && MODULES
  803. help
  804. Kprobes allows you to trap at almost any kernel address and
  805. execute a callback function. register_kprobe() establishes
  806. a probepoint and specifies the callback. Kprobes is useful
  807. for kernel debugging, non-intrusive instrumentation and testing.
  808. If in doubt, say "N".
  809. endmenu
  810. source "arch/powerpc/Kconfig.debug"
  811. source "security/Kconfig"
  812. config KEYS_COMPAT
  813. bool
  814. depends on COMPAT && KEYS
  815. default y
  816. source "crypto/Kconfig"