Kconfig 24 KB

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