Kconfig 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937
  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 if PPC64
  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. default y
  221. config PPC_CHRP
  222. bool " Common Hardware Reference Platform (CHRP) based machines"
  223. depends on PPC_MULTIPLATFORM && PPC32
  224. select PPC_I8259
  225. select PPC_INDIRECT_PCI
  226. select PPC_RTAS
  227. select PPC_MPC106
  228. default y
  229. config PPC_PMAC
  230. bool " Apple PowerMac based machines"
  231. depends on PPC_MULTIPLATFORM
  232. select PPC_INDIRECT_PCI if PPC32
  233. select PPC_MPC106 if PPC32
  234. default y
  235. config PPC_PMAC64
  236. bool
  237. depends on PPC_PMAC && POWER4
  238. select U3_DART
  239. select GENERIC_TBSYNC
  240. default y
  241. config PPC_PREP
  242. bool " PowerPC Reference Platform (PReP) based machines"
  243. depends on PPC_MULTIPLATFORM && PPC32 && BROKEN
  244. select PPC_I8259
  245. select PPC_INDIRECT_PCI
  246. default y
  247. config PPC_MAPLE
  248. depends on PPC_MULTIPLATFORM && PPC64
  249. bool " Maple 970FX Evaluation Board"
  250. select U3_DART
  251. select MPIC_BROKEN_U3
  252. select GENERIC_TBSYNC
  253. default n
  254. help
  255. This option enables support for the Maple 970FX Evaluation Board.
  256. For more informations, refer to <http://www.970eval.com>
  257. config PPC_CELL
  258. bool " Cell Broadband Processor Architecture"
  259. depends on PPC_MULTIPLATFORM && PPC64
  260. select PPC_RTAS
  261. select MMIO_NVRAM
  262. config PPC_OF
  263. bool
  264. depends on PPC_MULTIPLATFORM # for now
  265. default y
  266. config XICS
  267. depends on PPC_PSERIES
  268. bool
  269. default y
  270. config U3_DART
  271. bool
  272. depends on PPC_MULTIPLATFORM && PPC64
  273. default n
  274. config MPIC
  275. depends on PPC_PSERIES || PPC_PMAC || PPC_MAPLE || PPC_CHRP
  276. bool
  277. default y
  278. config PPC_RTAS
  279. bool
  280. default n
  281. config RTAS_ERROR_LOGGING
  282. bool
  283. depends on PPC_RTAS
  284. default n
  285. config RTAS_PROC
  286. bool "Proc interface to RTAS"
  287. depends on PPC_RTAS
  288. default y
  289. config RTAS_FLASH
  290. tristate "Firmware flash interface"
  291. depends on PPC64 && RTAS_PROC
  292. config MMIO_NVRAM
  293. bool
  294. default n
  295. config MPIC_BROKEN_U3
  296. bool
  297. depends on PPC_MAPLE
  298. default y
  299. config CELL_IIC
  300. depends on PPC_CELL
  301. bool
  302. default y
  303. config IBMVIO
  304. depends on PPC_PSERIES || PPC_ISERIES
  305. bool
  306. default y
  307. config PPC_MPC106
  308. bool
  309. default n
  310. config GENERIC_TBSYNC
  311. bool
  312. default y if CONFIG_PPC32 && CONFIG_SMP
  313. default n
  314. source "drivers/cpufreq/Kconfig"
  315. config CPU_FREQ_PMAC
  316. bool "Support for Apple PowerBooks"
  317. depends on CPU_FREQ && ADB_PMU && PPC32
  318. select CPU_FREQ_TABLE
  319. help
  320. This adds support for frequency switching on Apple PowerBooks,
  321. this currently includes some models of iBook & Titanium
  322. PowerBook.
  323. config CPU_FREQ_PMAC64
  324. bool "Support for some Apple G5s"
  325. depends on CPU_FREQ && PMAC_SMU && PPC64
  326. select CPU_FREQ_TABLE
  327. help
  328. This adds support for frequency switching on Apple iMac G5,
  329. and some of the more recent desktop G5 machines as well.
  330. config PPC601_SYNC_FIX
  331. bool "Workarounds for PPC601 bugs"
  332. depends on 6xx && (PPC_PREP || PPC_PMAC)
  333. help
  334. Some versions of the PPC601 (the first PowerPC chip) have bugs which
  335. mean that extra synchronization instructions are required near
  336. certain instructions, typically those that make major changes to the
  337. CPU state. These extra instructions reduce performance slightly.
  338. If you say N here, these extra instructions will not be included,
  339. resulting in a kernel which will run faster but may not run at all
  340. on some systems with the PPC601 chip.
  341. If in doubt, say Y here.
  342. config TAU
  343. bool "Thermal Management Support"
  344. depends on 6xx
  345. help
  346. G3 and G4 processors have an on-chip temperature sensor called the
  347. 'Thermal Assist Unit (TAU)', which, in theory, can measure the on-die
  348. temperature within 2-4 degrees Celsius. This option shows the current
  349. on-die temperature in /proc/cpuinfo if the cpu supports it.
  350. Unfortunately, on some chip revisions, this sensor is very inaccurate
  351. and in some cases, does not work at all, so don't assume the cpu
  352. temp is actually what /proc/cpuinfo says it is.
  353. config TAU_INT
  354. bool "Interrupt driven TAU driver (DANGEROUS)"
  355. depends on TAU
  356. ---help---
  357. The TAU supports an interrupt driven mode which causes an interrupt
  358. whenever the temperature goes out of range. This is the fastest way
  359. to get notified the temp has exceeded a range. With this option off,
  360. a timer is used to re-check the temperature periodically.
  361. However, on some cpus it appears that the TAU interrupt hardware
  362. is buggy and can cause a situation which would lead unexplained hard
  363. lockups.
  364. Unless you are extending the TAU driver, or enjoy kernel/hardware
  365. debugging, leave this option off.
  366. config TAU_AVERAGE
  367. bool "Average high and low temp"
  368. depends on TAU
  369. ---help---
  370. The TAU hardware can compare the temperature to an upper and lower
  371. bound. The default behavior is to show both the upper and lower
  372. bound in /proc/cpuinfo. If the range is large, the temperature is
  373. either changing a lot, or the TAU hardware is broken (likely on some
  374. G4's). If the range is small (around 4 degrees), the temperature is
  375. relatively stable. If you say Y here, a single temperature value,
  376. halfway between the upper and lower bounds, will be reported in
  377. /proc/cpuinfo.
  378. If in doubt, say N here.
  379. endmenu
  380. source arch/powerpc/platforms/embedded6xx/Kconfig
  381. source arch/powerpc/platforms/4xx/Kconfig
  382. source arch/powerpc/platforms/85xx/Kconfig
  383. source arch/powerpc/platforms/8xx/Kconfig
  384. menu "Kernel options"
  385. config HIGHMEM
  386. bool "High memory support"
  387. depends on PPC32
  388. source kernel/Kconfig.hz
  389. source kernel/Kconfig.preempt
  390. source "fs/Kconfig.binfmt"
  391. # We optimistically allocate largepages from the VM, so make the limit
  392. # large enough (16MB). This badly named config option is actually
  393. # max order + 1
  394. config FORCE_MAX_ZONEORDER
  395. int
  396. depends on PPC64
  397. default "9" if PPC_64K_PAGES
  398. default "13"
  399. config MATH_EMULATION
  400. bool "Math emulation"
  401. depends on 4xx || 8xx || E200 || E500
  402. ---help---
  403. Some PowerPC chips designed for embedded applications do not have
  404. a floating-point unit and therefore do not implement the
  405. floating-point instructions in the PowerPC instruction set. If you
  406. say Y here, the kernel will include code to emulate a floating-point
  407. unit, which will allow programs that use floating-point
  408. instructions to run.
  409. config IOMMU_VMERGE
  410. bool "Enable IOMMU virtual merging (EXPERIMENTAL)"
  411. depends on EXPERIMENTAL && PPC64
  412. default n
  413. help
  414. Cause IO segments sent to a device for DMA to be merged virtually
  415. by the IOMMU when they happen to have been allocated contiguously.
  416. This doesn't add pressure to the IOMMU allocator. However, some
  417. drivers don't support getting large merged segments coming back
  418. from *_map_sg(). Say Y if you know the drivers you are using are
  419. properly handling this case.
  420. config HOTPLUG_CPU
  421. bool "Support for enabling/disabling CPUs"
  422. depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
  423. ---help---
  424. Say Y here to be able to disable and re-enable individual
  425. CPUs at runtime on SMP machines.
  426. Say N if you are unsure.
  427. config KEXEC
  428. bool "kexec system call (EXPERIMENTAL)"
  429. depends on PPC_MULTIPLATFORM && EXPERIMENTAL
  430. help
  431. kexec is a system call that implements the ability to shutdown your
  432. current kernel, and to start another kernel. It is like a reboot
  433. but it is indepedent of the system firmware. And like a reboot
  434. you can start any kernel with it, not just Linux.
  435. The name comes from the similiarity to the exec system call.
  436. It is an ongoing process to be certain the hardware in a machine
  437. is properly shutdown, so do not be surprised if this code does not
  438. initially work for you. It may help to enable device hotplugging
  439. support. As of this writing the exact hardware interface is
  440. strongly in flux, so no good recommendation can be made.
  441. config EMBEDDEDBOOT
  442. bool
  443. depends on 8xx || 8260
  444. default y
  445. config PC_KEYBOARD
  446. bool "PC PS/2 style Keyboard"
  447. depends on 4xx || CPM2
  448. config PPCBUG_NVRAM
  449. bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
  450. default y if PPC_PREP
  451. config IRQ_ALL_CPUS
  452. bool "Distribute interrupts on all CPUs by default"
  453. depends on SMP && !MV64360
  454. help
  455. This option gives the kernel permission to distribute IRQs across
  456. multiple CPUs. Saying N here will route all IRQs to the first
  457. CPU. Generally saying Y is safe, although some problems have been
  458. reported with SMP Power Macintoshes with this option enabled.
  459. source "arch/powerpc/platforms/pseries/Kconfig"
  460. config NUMA
  461. bool "NUMA support"
  462. depends on PPC64
  463. default y if SMP && PPC_PSERIES
  464. config ARCH_SELECT_MEMORY_MODEL
  465. def_bool y
  466. depends on PPC64
  467. config ARCH_FLATMEM_ENABLE
  468. def_bool y
  469. depends on PPC64 && !NUMA
  470. config ARCH_SPARSEMEM_ENABLE
  471. def_bool y
  472. config ARCH_SPARSEMEM_DEFAULT
  473. def_bool y
  474. depends on SMP && PPC_PSERIES
  475. source "mm/Kconfig"
  476. config HAVE_ARCH_EARLY_PFN_TO_NID
  477. def_bool y
  478. depends on NEED_MULTIPLE_NODES
  479. config ARCH_MEMORY_PROBE
  480. def_bool y
  481. depends on MEMORY_HOTPLUG
  482. config PPC_64K_PAGES
  483. bool "64k page size"
  484. depends on PPC64
  485. help
  486. This option changes the kernel logical page size to 64k. On machines
  487. without processor support for 64k pages, the kernel will simulate
  488. them by loading each individual 4k page on demand transparently,
  489. while on hardware with such support, it will be used to map
  490. normal application pages.
  491. config SCHED_SMT
  492. bool "SMT (Hyperthreading) scheduler support"
  493. depends on PPC64 && SMP
  494. default off
  495. help
  496. SMT scheduler support improves the CPU scheduler's decision making
  497. when dealing with POWER5 cpus at a cost of slightly increased
  498. overhead in some places. If unsure say N here.
  499. config PROC_DEVICETREE
  500. bool "Support for device tree in /proc"
  501. depends on PROC_FS
  502. help
  503. This option adds a device-tree directory under /proc which contains
  504. an image of the device tree that the kernel copies from Open
  505. Firmware or other boot firmware. If unsure, say Y here.
  506. source "arch/powerpc/platforms/prep/Kconfig"
  507. config CMDLINE_BOOL
  508. bool "Default bootloader kernel arguments"
  509. depends on !PPC_ISERIES
  510. config CMDLINE
  511. string "Initial kernel command string"
  512. depends on CMDLINE_BOOL
  513. default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
  514. help
  515. On some platforms, there is currently no way for the boot loader to
  516. pass arguments to the kernel. For these platforms, you can supply
  517. some command-line options at build time by entering them here. In
  518. most cases you will need to specify the root device here.
  519. if !44x || BROKEN
  520. source kernel/power/Kconfig
  521. endif
  522. config SECCOMP
  523. bool "Enable seccomp to safely compute untrusted bytecode"
  524. depends on PROC_FS
  525. default y
  526. help
  527. This kernel feature is useful for number crunching applications
  528. that may need to compute untrusted bytecode during their
  529. execution. By using pipes or other transports made available to
  530. the process as file descriptors supporting the read/write
  531. syscalls, it's possible to isolate those applications in
  532. their own address space using seccomp. Once seccomp is
  533. enabled via /proc/<pid>/seccomp, it cannot be disabled
  534. and the task is only allowed to execute a few safe syscalls
  535. defined by each seccomp mode.
  536. If unsure, say Y. Only embedded should say N here.
  537. endmenu
  538. config ISA_DMA_API
  539. bool
  540. default y
  541. menu "Bus options"
  542. config ISA
  543. bool "Support for ISA-bus hardware"
  544. depends on PPC_PREP || PPC_CHRP
  545. select PPC_I8259
  546. help
  547. Find out whether you have ISA slots on your motherboard. ISA is the
  548. name of a bus system, i.e. the way the CPU talks to the other stuff
  549. inside your box. If you have an Apple machine, say N here; if you
  550. have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
  551. you have an embedded board, consult your board documentation.
  552. config GENERIC_ISA_DMA
  553. bool
  554. depends on PPC64 || POWER4 || 6xx && !CPM2
  555. default y
  556. config PPC_I8259
  557. bool
  558. default y if 85xx
  559. default n
  560. config PPC_INDIRECT_PCI
  561. bool
  562. depends on PCI
  563. default y if 40x || 44x || 85xx || 83xx
  564. default n
  565. config EISA
  566. bool
  567. config SBUS
  568. bool
  569. # Yes MCA RS/6000s exist but Linux-PPC does not currently support any
  570. config MCA
  571. bool
  572. config PCI
  573. bool "PCI support" if 40x || CPM2 || 83xx || 85xx || PPC_MPC52xx || (EMBEDDED && PPC_ISERIES)
  574. default y if !40x && !CPM2 && !8xx && !APUS && !83xx && !85xx
  575. default PCI_PERMEDIA if !4xx && !CPM2 && !8xx && APUS
  576. default PCI_QSPAN if !4xx && !CPM2 && 8xx
  577. help
  578. Find out whether your system includes a PCI bus. PCI is the name of
  579. a bus system, i.e. the way the CPU talks to the other stuff inside
  580. your box. If you say Y here, the kernel will include drivers and
  581. infrastructure code to support PCI bus devices.
  582. config PCI_DOMAINS
  583. bool
  584. default PCI
  585. config MPC83xx_PCI2
  586. bool " Supprt for 2nd PCI host controller"
  587. depends on PCI && MPC834x
  588. default y if MPC834x_SYS
  589. config PCI_QSPAN
  590. bool "QSpan PCI"
  591. depends on !4xx && !CPM2 && 8xx
  592. select PPC_I8259
  593. help
  594. Say Y here if you have a system based on a Motorola 8xx-series
  595. embedded processor with a QSPAN PCI interface, otherwise say N.
  596. config PCI_8260
  597. bool
  598. depends on PCI && 8260
  599. select PPC_INDIRECT_PCI
  600. default y
  601. config 8260_PCI9
  602. bool " Enable workaround for MPC826x erratum PCI 9"
  603. depends on PCI_8260 && !ADS8272
  604. default y
  605. choice
  606. prompt " IDMA channel for PCI 9 workaround"
  607. depends on 8260_PCI9
  608. config 8260_PCI9_IDMA1
  609. bool "IDMA1"
  610. config 8260_PCI9_IDMA2
  611. bool "IDMA2"
  612. config 8260_PCI9_IDMA3
  613. bool "IDMA3"
  614. config 8260_PCI9_IDMA4
  615. bool "IDMA4"
  616. endchoice
  617. source "drivers/pci/Kconfig"
  618. source "drivers/pcmcia/Kconfig"
  619. source "drivers/pci/hotplug/Kconfig"
  620. endmenu
  621. menu "Advanced setup"
  622. depends on PPC32
  623. config ADVANCED_OPTIONS
  624. bool "Prompt for advanced kernel configuration options"
  625. help
  626. This option will enable prompting for a variety of advanced kernel
  627. configuration options. These options can cause the kernel to not
  628. work if they are set incorrectly, but can be used to optimize certain
  629. aspects of kernel memory management.
  630. Unless you know what you are doing, say N here.
  631. comment "Default settings for advanced configuration options are used"
  632. depends on !ADVANCED_OPTIONS
  633. config HIGHMEM_START_BOOL
  634. bool "Set high memory pool address"
  635. depends on ADVANCED_OPTIONS && HIGHMEM
  636. help
  637. This option allows you to set the base address of the kernel virtual
  638. area used to map high memory pages. This can be useful in
  639. optimizing the layout of kernel virtual memory.
  640. Say N here unless you know what you are doing.
  641. config HIGHMEM_START
  642. hex "Virtual start address of high memory pool" if HIGHMEM_START_BOOL
  643. default "0xfe000000"
  644. config LOWMEM_SIZE_BOOL
  645. bool "Set maximum low memory"
  646. depends on ADVANCED_OPTIONS
  647. help
  648. This option allows you to set the maximum amount of memory which
  649. will be used as "low memory", that is, memory which the kernel can
  650. access directly, without having to set up a kernel virtual mapping.
  651. This can be useful in optimizing the layout of kernel virtual
  652. memory.
  653. Say N here unless you know what you are doing.
  654. config LOWMEM_SIZE
  655. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  656. default "0x30000000"
  657. config KERNEL_START_BOOL
  658. bool "Set custom kernel base address"
  659. depends on ADVANCED_OPTIONS
  660. help
  661. This option allows you to set the kernel virtual address at which
  662. the kernel will map low memory (the kernel image will be linked at
  663. this address). This can be useful in optimizing the virtual memory
  664. layout of the system.
  665. Say N here unless you know what you are doing.
  666. config KERNEL_START
  667. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  668. default "0xc0000000"
  669. config TASK_SIZE_BOOL
  670. bool "Set custom user task size"
  671. depends on ADVANCED_OPTIONS
  672. help
  673. This option allows you to set the amount of virtual address space
  674. allocated to user tasks. This can be useful in optimizing the
  675. virtual memory layout of the system.
  676. Say N here unless you know what you are doing.
  677. config TASK_SIZE
  678. hex "Size of user task space" if TASK_SIZE_BOOL
  679. default "0x80000000"
  680. config CONSISTENT_START_BOOL
  681. bool "Set custom consistent memory pool address"
  682. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  683. help
  684. This option allows you to set the base virtual address
  685. of the the consistent memory pool. This pool of virtual
  686. memory is used to make consistent memory allocations.
  687. config CONSISTENT_START
  688. hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL
  689. default "0xff100000" if NOT_COHERENT_CACHE
  690. config CONSISTENT_SIZE_BOOL
  691. bool "Set custom consistent memory pool size"
  692. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  693. help
  694. This option allows you to set the size of the the
  695. consistent memory pool. This pool of virtual memory
  696. is used to make consistent memory allocations.
  697. config CONSISTENT_SIZE
  698. hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
  699. default "0x00200000" if NOT_COHERENT_CACHE
  700. config BOOT_LOAD_BOOL
  701. bool "Set the boot link/load address"
  702. depends on ADVANCED_OPTIONS && !PPC_MULTIPLATFORM
  703. help
  704. This option allows you to set the initial load address of the zImage
  705. or zImage.initrd file. This can be useful if you are on a board
  706. which has a small amount of memory.
  707. Say N here unless you know what you are doing.
  708. config BOOT_LOAD
  709. hex "Link/load address for booting" if BOOT_LOAD_BOOL
  710. default "0x00400000" if 40x || 8xx || 8260
  711. default "0x01000000" if 44x
  712. default "0x00800000"
  713. config PIN_TLB
  714. bool "Pinned Kernel TLBs (860 ONLY)"
  715. depends on ADVANCED_OPTIONS && 8xx
  716. endmenu
  717. if PPC64
  718. config KERNEL_START
  719. hex
  720. default "0xc000000000000000"
  721. endif
  722. source "net/Kconfig"
  723. source "drivers/Kconfig"
  724. source "fs/Kconfig"
  725. # XXX source "arch/ppc/8xx_io/Kconfig"
  726. # XXX source "arch/ppc/8260_io/Kconfig"
  727. source "arch/powerpc/platforms/iseries/Kconfig"
  728. source "lib/Kconfig"
  729. menu "Instrumentation Support"
  730. depends on EXPERIMENTAL
  731. source "arch/powerpc/oprofile/Kconfig"
  732. config KPROBES
  733. bool "Kprobes (EXPERIMENTAL)"
  734. depends on PPC64
  735. help
  736. Kprobes allows you to trap at almost any kernel address and
  737. execute a callback function. register_kprobe() establishes
  738. a probepoint and specifies the callback. Kprobes is useful
  739. for kernel debugging, non-intrusive instrumentation and testing.
  740. If in doubt, say "N".
  741. endmenu
  742. source "arch/powerpc/Kconfig.debug"
  743. source "security/Kconfig"
  744. config KEYS_COMPAT
  745. bool
  746. depends on COMPAT && KEYS
  747. default y
  748. source "crypto/Kconfig"