/kern_oII/arch/powerpc/Kconfig

http://omnia2droid.googlecode.com/
#! | 953 lines | 753 code | 200 blank | 0 comment | 0 complexity | a10a4f24f8bca18eb48f61444614cbb0 MD5 | raw file
  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. source "arch/powerpc/platforms/Kconfig.cputype"
  6. config PPC32
  7. bool
  8. default y if !PPC64
  9. config 64BIT
  10. bool
  11. default y if PPC64
  12. config WORD_SIZE
  13. int
  14. default 64 if PPC64
  15. default 32 if !PPC64
  16. config ARCH_PHYS_ADDR_T_64BIT
  17. def_bool PPC64 || PHYS_64BIT
  18. config MMU
  19. bool
  20. default y
  21. config GENERIC_CMOS_UPDATE
  22. def_bool y
  23. config GENERIC_TIME
  24. def_bool y
  25. config GENERIC_TIME_VSYSCALL
  26. def_bool y
  27. config GENERIC_CLOCKEVENTS
  28. def_bool y
  29. config GENERIC_HARDIRQS
  30. bool
  31. default y
  32. config GENERIC_HARDIRQS_NO__DO_IRQ
  33. bool
  34. default y
  35. config HAVE_SETUP_PER_CPU_AREA
  36. def_bool PPC64
  37. config IRQ_PER_CPU
  38. bool
  39. default y
  40. config STACKTRACE_SUPPORT
  41. bool
  42. default y
  43. config HAVE_LATENCYTOP_SUPPORT
  44. def_bool y
  45. config TRACE_IRQFLAGS_SUPPORT
  46. bool
  47. default y
  48. config LOCKDEP_SUPPORT
  49. bool
  50. default y
  51. config RWSEM_GENERIC_SPINLOCK
  52. bool
  53. config RWSEM_XCHGADD_ALGORITHM
  54. bool
  55. default y
  56. config GENERIC_LOCKBREAK
  57. bool
  58. default y
  59. depends on SMP && PREEMPT
  60. config ARCH_HAS_ILOG2_U32
  61. bool
  62. default y
  63. config ARCH_HAS_ILOG2_U64
  64. bool
  65. default y if 64BIT
  66. config GENERIC_HWEIGHT
  67. bool
  68. default y
  69. config GENERIC_FIND_NEXT_BIT
  70. bool
  71. default y
  72. config GENERIC_GPIO
  73. bool
  74. help
  75. Generic GPIO API support
  76. config ARCH_NO_VIRT_TO_BUS
  77. def_bool PPC64
  78. config PPC
  79. bool
  80. default y
  81. select HAVE_FTRACE_MCOUNT_RECORD
  82. select HAVE_DYNAMIC_FTRACE
  83. select HAVE_FUNCTION_TRACER
  84. select HAVE_FUNCTION_GRAPH_TRACER
  85. select ARCH_WANT_OPTIONAL_GPIOLIB
  86. select HAVE_IDE
  87. select HAVE_IOREMAP_PROT
  88. select HAVE_EFFICIENT_UNALIGNED_ACCESS
  89. select HAVE_KPROBES
  90. select HAVE_ARCH_KGDB
  91. select HAVE_KRETPROBES
  92. select HAVE_ARCH_TRACEHOOK
  93. select HAVE_LMB
  94. select HAVE_DMA_ATTRS if PPC64
  95. select USE_GENERIC_SMP_HELPERS if SMP
  96. select HAVE_OPROFILE
  97. select HAVE_SYSCALL_WRAPPERS if PPC64
  98. select GENERIC_ATOMIC64 if PPC32
  99. select HAVE_PERF_COUNTERS
  100. config EARLY_PRINTK
  101. bool
  102. default y
  103. config COMPAT
  104. bool
  105. default y if PPC64
  106. select COMPAT_BINFMT_ELF
  107. config SYSVIPC_COMPAT
  108. bool
  109. depends on COMPAT && SYSVIPC
  110. default y
  111. # All PPC32s use generic nvram driver through ppc_md
  112. config GENERIC_NVRAM
  113. bool
  114. default y if PPC32
  115. config SCHED_OMIT_FRAME_POINTER
  116. bool
  117. default y
  118. config ARCH_MAY_HAVE_PC_FDC
  119. bool
  120. default !PPC_PSERIES || PCI
  121. config PPC_OF
  122. def_bool y
  123. config OF
  124. def_bool y
  125. config PPC_UDBG_16550
  126. bool
  127. default n
  128. config GENERIC_TBSYNC
  129. bool
  130. default y if PPC32 && SMP
  131. default n
  132. config AUDIT_ARCH
  133. bool
  134. default y
  135. config GENERIC_BUG
  136. bool
  137. default y
  138. depends on BUG
  139. config SYS_SUPPORTS_APM_EMULATION
  140. default y if PMAC_APM_EMU
  141. bool
  142. config DTC
  143. bool
  144. default y
  145. config DEFAULT_UIMAGE
  146. bool
  147. help
  148. Used to allow a board to specify it wants a uImage built by default
  149. default n
  150. config REDBOOT
  151. bool
  152. config HIBERNATE_32
  153. bool
  154. depends on (PPC_PMAC && !SMP) || BROKEN
  155. default y
  156. config HIBERNATE_64
  157. bool
  158. depends on BROKEN || (PPC_PMAC64 && EXPERIMENTAL)
  159. default y
  160. config ARCH_HIBERNATION_POSSIBLE
  161. bool
  162. depends on (PPC64 && HIBERNATE_64) || (PPC32 && HIBERNATE_32)
  163. default y
  164. config ARCH_SUSPEND_POSSIBLE
  165. def_bool y
  166. depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx
  167. config PPC_DCR_NATIVE
  168. bool
  169. default n
  170. config PPC_DCR_MMIO
  171. bool
  172. default n
  173. config PPC_DCR
  174. bool
  175. depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
  176. default y
  177. config PPC_OF_PLATFORM_PCI
  178. bool
  179. depends on PCI
  180. depends on PPC64 # not supported on 32 bits yet
  181. default n
  182. config ARCH_SUPPORTS_DEBUG_PAGEALLOC
  183. def_bool y
  184. source "init/Kconfig"
  185. source "kernel/Kconfig.freezer"
  186. source "arch/powerpc/sysdev/Kconfig"
  187. source "arch/powerpc/platforms/Kconfig"
  188. menu "Kernel options"
  189. config HIGHMEM
  190. bool "High memory support"
  191. depends on PPC32
  192. source kernel/time/Kconfig
  193. source kernel/Kconfig.hz
  194. source kernel/Kconfig.preempt
  195. source "fs/Kconfig.binfmt"
  196. config HUGETLB_PAGE_SIZE_VARIABLE
  197. bool
  198. depends on HUGETLB_PAGE
  199. default y
  200. config MATH_EMULATION
  201. bool "Math emulation"
  202. depends on 4xx || 8xx || E200 || PPC_MPC832x || E500
  203. ---help---
  204. Some PowerPC chips designed for embedded applications do not have
  205. a floating-point unit and therefore do not implement the
  206. floating-point instructions in the PowerPC instruction set. If you
  207. say Y here, the kernel will include code to emulate a floating-point
  208. unit, which will allow programs that use floating-point
  209. instructions to run.
  210. config 8XX_MINIMAL_FPEMU
  211. bool "Minimal math emulation for 8xx"
  212. depends on 8xx && !MATH_EMULATION
  213. help
  214. Older arch/ppc kernels still emulated a few floating point
  215. instructions such as load and store, even when full math
  216. emulation is disabled. Say "Y" here if you want to preserve
  217. this behavior.
  218. It is recommended that you build a soft-float userspace instead.
  219. config IOMMU_VMERGE
  220. bool "Enable IOMMU virtual merging"
  221. depends on PPC64
  222. default y
  223. help
  224. Cause IO segments sent to a device for DMA to be merged virtually
  225. by the IOMMU when they happen to have been allocated contiguously.
  226. This doesn't add pressure to the IOMMU allocator. However, some
  227. drivers don't support getting large merged segments coming back
  228. from *_map_sg().
  229. Most drivers don't have this problem; it is safe to say Y here.
  230. config IOMMU_HELPER
  231. def_bool PPC64
  232. config SWIOTLB
  233. bool "SWIOTLB support"
  234. default n
  235. select IOMMU_HELPER
  236. ---help---
  237. Support for IO bounce buffering for systems without an IOMMU.
  238. This allows us to DMA to the full physical address space on
  239. platforms where the size of a physical address is larger
  240. than the bus address. Not all platforms support this.
  241. config PPC_NEED_DMA_SYNC_OPS
  242. def_bool y
  243. depends on (NOT_COHERENT_CACHE || SWIOTLB)
  244. config HOTPLUG_CPU
  245. bool "Support for enabling/disabling CPUs"
  246. depends on SMP && HOTPLUG && EXPERIMENTAL && (PPC_PSERIES || PPC_PMAC)
  247. ---help---
  248. Say Y here to be able to disable and re-enable individual
  249. CPUs at runtime on SMP machines.
  250. Say N if you are unsure.
  251. config ARCH_ENABLE_MEMORY_HOTPLUG
  252. def_bool y
  253. config ARCH_HAS_WALK_MEMORY
  254. def_bool y
  255. config ARCH_ENABLE_MEMORY_HOTREMOVE
  256. def_bool y
  257. config KEXEC
  258. bool "kexec system call (EXPERIMENTAL)"
  259. depends on PPC_BOOK3S && EXPERIMENTAL
  260. help
  261. kexec is a system call that implements the ability to shutdown your
  262. current kernel, and to start another kernel. It is like a reboot
  263. but it is independent of the system firmware. And like a reboot
  264. you can start any kernel with it, not just Linux.
  265. The name comes from the similarity to the exec system call.
  266. It is an ongoing process to be certain the hardware in a machine
  267. is properly shutdown, so do not be surprised if this code does not
  268. initially work for you. It may help to enable device hotplugging
  269. support. As of this writing the exact hardware interface is
  270. strongly in flux, so no good recommendation can be made.
  271. config CRASH_DUMP
  272. bool "Build a kdump crash kernel"
  273. depends on PPC64 || 6xx
  274. select RELOCATABLE if PPC64
  275. help
  276. Build a kernel suitable for use as a kdump capture kernel.
  277. The same kernel binary can be used as production kernel and dump
  278. capture kernel.
  279. config PHYP_DUMP
  280. bool "Hypervisor-assisted dump (EXPERIMENTAL)"
  281. depends on PPC_PSERIES && EXPERIMENTAL
  282. help
  283. Hypervisor-assisted dump is meant to be a kdump replacement
  284. offering robustness and speed not possible without system
  285. hypervisor assistance.
  286. If unsure, say "N"
  287. config PPCBUG_NVRAM
  288. bool "Enable reading PPCBUG NVRAM during boot" if PPLUS || LOPEC
  289. default y if PPC_PREP
  290. config IRQ_ALL_CPUS
  291. bool "Distribute interrupts on all CPUs by default"
  292. depends on SMP && !MV64360
  293. help
  294. This option gives the kernel permission to distribute IRQs across
  295. multiple CPUs. Saying N here will route all IRQs to the first
  296. CPU. Generally saying Y is safe, although some problems have been
  297. reported with SMP Power Macintoshes with this option enabled.
  298. config NUMA
  299. bool "NUMA support"
  300. depends on PPC64
  301. default y if SMP && PPC_PSERIES
  302. config NODES_SHIFT
  303. int
  304. default "4"
  305. depends on NEED_MULTIPLE_NODES
  306. config ARCH_SELECT_MEMORY_MODEL
  307. def_bool y
  308. depends on PPC64
  309. config ARCH_FLATMEM_ENABLE
  310. def_bool y
  311. depends on (PPC64 && !NUMA) || PPC32
  312. config ARCH_SPARSEMEM_ENABLE
  313. def_bool y
  314. depends on PPC64
  315. select SPARSEMEM_VMEMMAP_ENABLE
  316. config ARCH_SPARSEMEM_DEFAULT
  317. def_bool y
  318. depends on (SMP && PPC_PSERIES) || PPC_PS3
  319. config ARCH_POPULATES_NODE_MAP
  320. def_bool y
  321. source "mm/Kconfig"
  322. config ARCH_MEMORY_PROBE
  323. def_bool y
  324. depends on MEMORY_HOTPLUG
  325. # Some NUMA nodes have memory ranges that span
  326. # other nodes. Even though a pfn is valid and
  327. # between a node's start and end pfns, it may not
  328. # reside on that node. See memmap_init_zone()
  329. # for details.
  330. config NODES_SPAN_OTHER_NODES
  331. def_bool y
  332. depends on NEED_MULTIPLE_NODES
  333. config PPC_HAS_HASH_64K
  334. bool
  335. depends on PPC64
  336. default n
  337. config STDBINUTILS
  338. bool "Using standard binutils settings"
  339. depends on 44x
  340. default y
  341. help
  342. Turning this option off allows you to select 256KB PAGE_SIZE on 44x.
  343. Note, that kernel will be able to run only those applications,
  344. which had been compiled using binutils later than 2.17.50.0.3 with
  345. '-zmax-page-size' set to 256K (the default is 64K). Or, if using
  346. the older binutils, you can patch them with a trivial patch, which
  347. changes the ELF_MAXPAGESIZE definition from 0x10000 to 0x40000.
  348. choice
  349. prompt "Page size"
  350. default PPC_4K_PAGES
  351. help
  352. Select the kernel logical page size. Increasing the page size
  353. will reduce software overhead at each page boundary, allow
  354. hardware prefetch mechanisms to be more effective, and allow
  355. larger dma transfers increasing IO efficiency and reducing
  356. overhead. However the utilization of memory will increase.
  357. For example, each cached file will using a multiple of the
  358. page size to hold its contents and the difference between the
  359. end of file and the end of page is wasted.
  360. Some dedicated systems, such as software raid serving with
  361. accelerated calculations, have shown significant increases.
  362. If you configure a 64 bit kernel for 64k pages but the
  363. processor does not support them, then the kernel will simulate
  364. them with 4k pages, loading them on demand, but with the
  365. reduced software overhead and larger internal fragmentation.
  366. For the 32 bit kernel, a large page option will not be offered
  367. unless it is supported by the configured processor.
  368. If unsure, choose 4K_PAGES.
  369. config PPC_4K_PAGES
  370. bool "4k page size"
  371. config PPC_16K_PAGES
  372. bool "16k page size" if 44x
  373. config PPC_64K_PAGES
  374. bool "64k page size" if 44x || PPC_STD_MMU_64
  375. select PPC_HAS_HASH_64K if PPC_STD_MMU_64
  376. config PPC_256K_PAGES
  377. bool "256k page size" if 44x
  378. depends on !STDBINUTILS
  379. help
  380. Make the page size 256k.
  381. As the ELF standard only requires alignment to support page
  382. sizes up to 64k, you will need to compile all of your user
  383. space applications with a non-standard binutils settings
  384. (see the STDBINUTILS description for details).
  385. Say N unless you know what you are doing.
  386. endchoice
  387. config FORCE_MAX_ZONEORDER
  388. int "Maximum zone order"
  389. range 9 64 if PPC_STD_MMU_64 && PPC_64K_PAGES
  390. default "9" if PPC_STD_MMU_64 && PPC_64K_PAGES
  391. range 13 64 if PPC_STD_MMU_64 && !PPC_64K_PAGES
  392. default "13" if PPC_STD_MMU_64 && !PPC_64K_PAGES
  393. range 9 64 if PPC_STD_MMU_32 && PPC_16K_PAGES
  394. default "9" if PPC_STD_MMU_32 && PPC_16K_PAGES
  395. range 7 64 if PPC_STD_MMU_32 && PPC_64K_PAGES
  396. default "7" if PPC_STD_MMU_32 && PPC_64K_PAGES
  397. range 5 64 if PPC_STD_MMU_32 && PPC_256K_PAGES
  398. default "5" if PPC_STD_MMU_32 && PPC_256K_PAGES
  399. range 11 64
  400. default "11"
  401. help
  402. The kernel memory allocator divides physically contiguous memory
  403. blocks into "zones", where each zone is a power of two number of
  404. pages. This option selects the largest power of two that the kernel
  405. keeps in the memory allocator. If you need to allocate very large
  406. blocks of physically contiguous memory, then you may need to
  407. increase this value.
  408. This config option is actually maximum order plus one. For example,
  409. a value of 11 means that the largest free memory block is 2^10 pages.
  410. The page size is not necessarily 4KB. For example, on 64-bit
  411. systems, 64KB pages can be enabled via CONFIG_PPC_64K_PAGES. Keep
  412. this in mind when choosing a value for this option.
  413. config PPC_SUBPAGE_PROT
  414. bool "Support setting protections for 4k subpages"
  415. depends on PPC_STD_MMU_64 && PPC_64K_PAGES
  416. help
  417. This option adds support for a system call to allow user programs
  418. to set access permissions (read/write, readonly, or no access)
  419. on the 4k subpages of each 64k page.
  420. config SCHED_SMT
  421. bool "SMT (Hyperthreading) scheduler support"
  422. depends on PPC64 && SMP
  423. help
  424. SMT scheduler support improves the CPU scheduler's decision making
  425. when dealing with POWER5 cpus at a cost of slightly increased
  426. overhead in some places. If unsure say N here.
  427. config PROC_DEVICETREE
  428. bool "Support for device tree in /proc"
  429. depends on PROC_FS
  430. help
  431. This option adds a device-tree directory under /proc which contains
  432. an image of the device tree that the kernel copies from Open
  433. Firmware or other boot firmware. If unsure, say Y here.
  434. config CMDLINE_BOOL
  435. bool "Default bootloader kernel arguments"
  436. config CMDLINE
  437. string "Initial kernel command string"
  438. depends on CMDLINE_BOOL
  439. default "console=ttyS0,9600 console=tty0 root=/dev/sda2"
  440. help
  441. On some platforms, there is currently no way for the boot loader to
  442. pass arguments to the kernel. For these platforms, you can supply
  443. some command-line options at build time by entering them here. In
  444. most cases you will need to specify the root device here.
  445. config EXTRA_TARGETS
  446. string "Additional default image types"
  447. help
  448. List additional targets to be built by the bootwrapper here (separated
  449. by spaces). This is useful for targets that depend of device tree
  450. files in the .dts directory.
  451. Targets in this list will be build as part of the default build
  452. target, or when the user does a 'make zImage' or a
  453. 'make zImage.initrd'.
  454. If unsure, leave blank
  455. if !44x || BROKEN
  456. config ARCH_WANTS_FREEZER_CONTROL
  457. def_bool y
  458. depends on ADB_PMU
  459. source kernel/power/Kconfig
  460. endif
  461. config SECCOMP
  462. bool "Enable seccomp to safely compute untrusted bytecode"
  463. depends on PROC_FS
  464. default y
  465. help
  466. This kernel feature is useful for number crunching applications
  467. that may need to compute untrusted bytecode during their
  468. execution. By using pipes or other transports made available to
  469. the process as file descriptors supporting the read/write
  470. syscalls, it's possible to isolate those applications in
  471. their own address space using seccomp. Once seccomp is
  472. enabled via /proc/<pid>/seccomp, it cannot be disabled
  473. and the task is only allowed to execute a few safe syscalls
  474. defined by each seccomp mode.
  475. If unsure, say Y. Only embedded should say N here.
  476. endmenu
  477. config ISA_DMA_API
  478. bool
  479. default !PPC_ISERIES || PCI
  480. menu "Bus options"
  481. config ISA
  482. bool "Support for ISA-bus hardware"
  483. depends on PPC_PREP || PPC_CHRP
  484. select PPC_I8259
  485. help
  486. Find out whether you have ISA slots on your motherboard. ISA is the
  487. name of a bus system, i.e. the way the CPU talks to the other stuff
  488. inside your box. If you have an Apple machine, say N here; if you
  489. have an IBM RS/6000 or pSeries machine or a PReP machine, say Y. If
  490. you have an embedded board, consult your board documentation.
  491. config ZONE_DMA
  492. bool
  493. default y
  494. config GENERIC_ISA_DMA
  495. bool
  496. depends on PPC64 || POWER4 || 6xx && !CPM2
  497. default y
  498. config PPC_INDIRECT_PCI
  499. bool
  500. depends on PCI
  501. default y if 40x || 44x
  502. default n
  503. config EISA
  504. bool
  505. config SBUS
  506. bool
  507. config FSL_SOC
  508. bool
  509. config FSL_PCI
  510. bool
  511. select PPC_INDIRECT_PCI
  512. select PCI_QUIRKS
  513. config 4xx_SOC
  514. bool
  515. config FSL_LBC
  516. bool
  517. help
  518. Freescale Localbus support
  519. config FSL_GTM
  520. bool
  521. depends on PPC_83xx || QUICC_ENGINE || CPM2
  522. help
  523. Freescale General-purpose Timers support
  524. # Yes MCA RS/6000s exist but Linux-PPC does not currently support any
  525. config MCA
  526. bool
  527. # Platforms that what PCI turned unconditionally just do select PCI
  528. # in their config node. Platforms that want to choose at config
  529. # time should select PPC_PCI_CHOICE
  530. config PPC_PCI_CHOICE
  531. bool
  532. config PCI
  533. bool "PCI support" if PPC_PCI_CHOICE
  534. default y if !40x && !CPM2 && !8xx && !PPC_83xx \
  535. && !PPC_85xx && !PPC_86xx
  536. default PCI_PERMEDIA if !4xx && !CPM2 && !8xx
  537. default PCI_QSPAN if !4xx && !CPM2 && 8xx
  538. select ARCH_SUPPORTS_MSI
  539. help
  540. Find out whether your system includes a PCI bus. PCI is the name of
  541. a bus system, i.e. the way the CPU talks to the other stuff inside
  542. your box. If you say Y here, the kernel will include drivers and
  543. infrastructure code to support PCI bus devices.
  544. config PCI_DOMAINS
  545. def_bool PCI
  546. config PCI_SYSCALL
  547. def_bool PCI
  548. config PCI_QSPAN
  549. bool "QSpan PCI"
  550. depends on !4xx && !CPM2 && 8xx
  551. select PPC_I8259
  552. help
  553. Say Y here if you have a system based on a Motorola 8xx-series
  554. embedded processor with a QSPAN PCI interface, otherwise say N.
  555. config PCI_8260
  556. bool
  557. depends on PCI && 8260
  558. select PPC_INDIRECT_PCI
  559. default y
  560. config 8260_PCI9
  561. bool "Enable workaround for MPC826x erratum PCI 9"
  562. depends on PCI_8260 && !8272
  563. default y
  564. choice
  565. prompt "IDMA channel for PCI 9 workaround"
  566. depends on 8260_PCI9
  567. config 8260_PCI9_IDMA1
  568. bool "IDMA1"
  569. config 8260_PCI9_IDMA2
  570. bool "IDMA2"
  571. config 8260_PCI9_IDMA3
  572. bool "IDMA3"
  573. config 8260_PCI9_IDMA4
  574. bool "IDMA4"
  575. endchoice
  576. source "drivers/pci/pcie/Kconfig"
  577. source "drivers/pci/Kconfig"
  578. source "drivers/pcmcia/Kconfig"
  579. source "drivers/pci/hotplug/Kconfig"
  580. config HAS_RAPIDIO
  581. bool
  582. default n
  583. config RAPIDIO
  584. bool "RapidIO support"
  585. depends on HAS_RAPIDIO
  586. help
  587. If you say Y here, the kernel will include drivers and
  588. infrastructure code to support RapidIO interconnect devices.
  589. source "drivers/rapidio/Kconfig"
  590. endmenu
  591. menu "Advanced setup"
  592. depends on PPC32
  593. config ADVANCED_OPTIONS
  594. bool "Prompt for advanced kernel configuration options"
  595. help
  596. This option will enable prompting for a variety of advanced kernel
  597. configuration options. These options can cause the kernel to not
  598. work if they are set incorrectly, but can be used to optimize certain
  599. aspects of kernel memory management.
  600. Unless you know what you are doing, say N here.
  601. comment "Default settings for advanced configuration options are used"
  602. depends on !ADVANCED_OPTIONS
  603. config LOWMEM_SIZE_BOOL
  604. bool "Set maximum low memory"
  605. depends on ADVANCED_OPTIONS
  606. help
  607. This option allows you to set the maximum amount of memory which
  608. will be used as "low memory", that is, memory which the kernel can
  609. access directly, without having to set up a kernel virtual mapping.
  610. This can be useful in optimizing the layout of kernel virtual
  611. memory.
  612. Say N here unless you know what you are doing.
  613. config LOWMEM_SIZE
  614. hex "Maximum low memory size (in bytes)" if LOWMEM_SIZE_BOOL
  615. default "0x30000000"
  616. config LOWMEM_CAM_NUM_BOOL
  617. bool "Set number of CAMs to use to map low memory"
  618. depends on ADVANCED_OPTIONS && FSL_BOOKE
  619. help
  620. This option allows you to set the maximum number of CAM slots that
  621. will be used to map low memory. There are a limited number of slots
  622. available and even more limited number that will fit in the L1 MMU.
  623. However, using more entries will allow mapping more low memory. This
  624. can be useful in optimizing the layout of kernel virtual memory.
  625. Say N here unless you know what you are doing.
  626. config LOWMEM_CAM_NUM
  627. depends on FSL_BOOKE
  628. int "Number of CAMs to use to map low memory" if LOWMEM_CAM_NUM_BOOL
  629. default 3
  630. config RELOCATABLE
  631. bool "Build a relocatable kernel (EXPERIMENTAL)"
  632. depends on EXPERIMENTAL && ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
  633. help
  634. This builds a kernel image that is capable of running at the
  635. location the kernel is loaded at (some alignment restrictions may
  636. exist).
  637. One use is for the kexec on panic case where the recovery kernel
  638. must live at a different physical address than the primary
  639. kernel.
  640. Note: If CONFIG_RELOCATABLE=y, then the kernel runs from the address
  641. it has been loaded at and the compile time physical addresses
  642. CONFIG_PHYSICAL_START is ignored. However CONFIG_PHYSICAL_START
  643. setting can still be useful to bootwrappers that need to know the
  644. load location of the kernel (eg. u-boot/mkimage).
  645. config PAGE_OFFSET_BOOL
  646. bool "Set custom page offset address"
  647. depends on ADVANCED_OPTIONS
  648. help
  649. This option allows you to set the kernel virtual address at which
  650. the kernel will map low memory. This can be useful in optimizing
  651. the virtual memory layout of the system.
  652. Say N here unless you know what you are doing.
  653. config PAGE_OFFSET
  654. hex "Virtual address of memory base" if PAGE_OFFSET_BOOL
  655. default "0xc0000000"
  656. config KERNEL_START_BOOL
  657. bool "Set custom kernel base address"
  658. depends on ADVANCED_OPTIONS
  659. help
  660. This option allows you to set the kernel virtual address at which
  661. the kernel will be loaded. Normally this should match PAGE_OFFSET
  662. however there are times (like kdump) that one might not want them
  663. to be the same.
  664. Say N here unless you know what you are doing.
  665. config KERNEL_START
  666. hex "Virtual address of kernel base" if KERNEL_START_BOOL
  667. default PAGE_OFFSET if PAGE_OFFSET_BOOL
  668. default "0xc2000000" if CRASH_DUMP
  669. default "0xc0000000"
  670. config PHYSICAL_START_BOOL
  671. bool "Set physical address where the kernel is loaded"
  672. depends on ADVANCED_OPTIONS && FLATMEM && FSL_BOOKE
  673. help
  674. This gives the physical address where the kernel is loaded.
  675. Say N here unless you know what you are doing.
  676. config PHYSICAL_START
  677. hex "Physical address where the kernel is loaded" if PHYSICAL_START_BOOL
  678. default "0x02000000" if PPC_STD_MMU && CRASH_DUMP
  679. default "0x00000000"
  680. config PHYSICAL_ALIGN
  681. hex
  682. default "0x04000000" if FSL_BOOKE
  683. help
  684. This value puts the alignment restrictions on physical address
  685. where kernel is loaded and run from. Kernel is compiled for an
  686. address which meets above alignment restriction.
  687. config TASK_SIZE_BOOL
  688. bool "Set custom user task size"
  689. depends on ADVANCED_OPTIONS
  690. help
  691. This option allows you to set the amount of virtual address space
  692. allocated to user tasks. This can be useful in optimizing the
  693. virtual memory layout of the system.
  694. Say N here unless you know what you are doing.
  695. config TASK_SIZE
  696. hex "Size of user task space" if TASK_SIZE_BOOL
  697. default "0x80000000" if PPC_PREP || PPC_8xx
  698. default "0xc0000000"
  699. config CONSISTENT_SIZE_BOOL
  700. bool "Set custom consistent memory pool size"
  701. depends on ADVANCED_OPTIONS && NOT_COHERENT_CACHE
  702. help
  703. This option allows you to set the size of the
  704. consistent memory pool. This pool of virtual memory
  705. is used to make consistent memory allocations.
  706. config CONSISTENT_SIZE
  707. hex "Size of consistent memory pool" if CONSISTENT_SIZE_BOOL
  708. default "0x00200000" if NOT_COHERENT_CACHE
  709. config PIN_TLB
  710. bool "Pinned Kernel TLBs (860 ONLY)"
  711. depends on ADVANCED_OPTIONS && 8xx
  712. endmenu
  713. if PPC64
  714. config RELOCATABLE
  715. bool "Build a relocatable kernel"
  716. help
  717. This builds a kernel image that is capable of running anywhere
  718. in the RMA (real memory area) at any 16k-aligned base address.
  719. The kernel is linked as a position-independent executable (PIE)
  720. and contains dynamic relocations which are processed early
  721. in the bootup process.
  722. One use is for the kexec on panic case where the recovery kernel
  723. must live at a different physical address than the primary
  724. kernel.
  725. config PAGE_OFFSET
  726. hex
  727. default "0xc000000000000000"
  728. config KERNEL_START
  729. hex
  730. default "0xc000000000000000"
  731. config PHYSICAL_START
  732. hex
  733. default "0x00000000"
  734. endif
  735. source "net/Kconfig"
  736. source "drivers/Kconfig"
  737. source "fs/Kconfig"
  738. source "arch/powerpc/sysdev/qe_lib/Kconfig"
  739. source "lib/Kconfig"
  740. source "arch/powerpc/Kconfig.debug"
  741. source "security/Kconfig"
  742. config KEYS_COMPAT
  743. bool
  744. depends on COMPAT && KEYS
  745. default y
  746. source "crypto/Kconfig"
  747. config PPC_CLOCK
  748. bool
  749. default n
  750. select HAVE_CLK
  751. config PPC_LIB_RHEAP
  752. bool
  753. source "arch/powerpc/kvm/Kconfig"