Kconfig 22 KB

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