Kconfig 24 KB

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