diff options
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r-- | arch/powerpc/Kconfig | 50 |
1 files changed, 43 insertions, 7 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 00099efe0e9f..037664d496d7 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -14,6 +14,11 @@ config 64BIT | |||
14 | bool | 14 | bool |
15 | default y if PPC64 | 15 | default y if PPC64 |
16 | 16 | ||
17 | config WORD_SIZE | ||
18 | int | ||
19 | default 64 if PPC64 | ||
20 | default 32 if !PPC64 | ||
21 | |||
17 | config PPC_MERGE | 22 | config PPC_MERGE |
18 | def_bool y | 23 | def_bool y |
19 | 24 | ||
@@ -21,6 +26,18 @@ config MMU | |||
21 | bool | 26 | bool |
22 | default y | 27 | default y |
23 | 28 | ||
29 | config GENERIC_CMOS_UPDATE | ||
30 | def_bool y | ||
31 | |||
32 | config GENERIC_TIME | ||
33 | def_bool y | ||
34 | |||
35 | config GENERIC_TIME_VSYSCALL | ||
36 | def_bool y | ||
37 | |||
38 | config GENERIC_CLOCKEVENTS | ||
39 | def_bool y | ||
40 | |||
24 | config GENERIC_HARDIRQS | 41 | config GENERIC_HARDIRQS |
25 | bool | 42 | bool |
26 | default y | 43 | default y |
@@ -156,6 +173,7 @@ config HIGHMEM | |||
156 | bool "High memory support" | 173 | bool "High memory support" |
157 | depends on PPC32 | 174 | depends on PPC32 |
158 | 175 | ||
176 | source kernel/time/Kconfig | ||
159 | source kernel/Kconfig.hz | 177 | source kernel/Kconfig.hz |
160 | source kernel/Kconfig.preempt | 178 | source kernel/Kconfig.preempt |
161 | source "fs/Kconfig.binfmt" | 179 | source "fs/Kconfig.binfmt" |
@@ -180,17 +198,29 @@ config MATH_EMULATION | |||
180 | unit, which will allow programs that use floating-point | 198 | unit, which will allow programs that use floating-point |
181 | instructions to run. | 199 | instructions to run. |
182 | 200 | ||
201 | config 8XX_MINIMAL_FPEMU | ||
202 | bool "Minimal math emulation for 8xx" | ||
203 | depends on 8xx && !MATH_EMULATION | ||
204 | help | ||
205 | Older arch/ppc kernels still emulated a few floating point | ||
206 | instructions such as load and store, even when full math | ||
207 | emulation is disabled. Say "Y" here if you want to preserve | ||
208 | this behavior. | ||
209 | |||
210 | It is recommended that you build a soft-float userspace instead. | ||
211 | |||
183 | config IOMMU_VMERGE | 212 | config IOMMU_VMERGE |
184 | bool "Enable IOMMU virtual merging (EXPERIMENTAL)" | 213 | bool "Enable IOMMU virtual merging" |
185 | depends on EXPERIMENTAL && PPC64 | 214 | depends on PPC64 |
186 | default n | 215 | default y |
187 | help | 216 | help |
188 | Cause IO segments sent to a device for DMA to be merged virtually | 217 | Cause IO segments sent to a device for DMA to be merged virtually |
189 | by the IOMMU when they happen to have been allocated contiguously. | 218 | by the IOMMU when they happen to have been allocated contiguously. |
190 | This doesn't add pressure to the IOMMU allocator. However, some | 219 | This doesn't add pressure to the IOMMU allocator. However, some |
191 | drivers don't support getting large merged segments coming back | 220 | drivers don't support getting large merged segments coming back |
192 | from *_map_sg(). Say Y if you know the drivers you are using are | 221 | from *_map_sg(). |
193 | properly handling this case. | 222 | |
223 | Most drivers don't have this problem; it is safe to say Y here. | ||
194 | 224 | ||
195 | config HOTPLUG_CPU | 225 | config HOTPLUG_CPU |
196 | bool "Support for enabling/disabling CPUs" | 226 | bool "Support for enabling/disabling CPUs" |
@@ -465,7 +495,7 @@ config PCI_8260 | |||
465 | 495 | ||
466 | config 8260_PCI9 | 496 | config 8260_PCI9 |
467 | bool "Enable workaround for MPC826x erratum PCI 9" | 497 | bool "Enable workaround for MPC826x erratum PCI 9" |
468 | depends on PCI_8260 && !ADS8272 | 498 | depends on PCI_8260 && !8272 |
469 | default y | 499 | default y |
470 | 500 | ||
471 | choice | 501 | choice |
@@ -569,7 +599,8 @@ config TASK_SIZE_BOOL | |||
569 | 599 | ||
570 | config TASK_SIZE | 600 | config TASK_SIZE |
571 | hex "Size of user task space" if TASK_SIZE_BOOL | 601 | hex "Size of user task space" if TASK_SIZE_BOOL |
572 | default "0x80000000" | 602 | default "0x80000000" if PPC_PREP || PPC_8xx |
603 | default "0xc0000000" | ||
573 | 604 | ||
574 | config CONSISTENT_START_BOOL | 605 | config CONSISTENT_START_BOOL |
575 | bool "Set custom consistent memory pool address" | 606 | bool "Set custom consistent memory pool address" |
@@ -581,6 +612,7 @@ config CONSISTENT_START_BOOL | |||
581 | 612 | ||
582 | config CONSISTENT_START | 613 | config CONSISTENT_START |
583 | hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL | 614 | hex "Base virtual address of consistent memory pool" if CONSISTENT_START_BOOL |
615 | default "0xfd000000" if (NOT_COHERENT_CACHE && 8xx) | ||
584 | default "0xff100000" if NOT_COHERENT_CACHE | 616 | default "0xff100000" if NOT_COHERENT_CACHE |
585 | 617 | ||
586 | config CONSISTENT_SIZE_BOOL | 618 | config CONSISTENT_SIZE_BOOL |
@@ -662,3 +694,7 @@ config KEYS_COMPAT | |||
662 | default y | 694 | default y |
663 | 695 | ||
664 | source "crypto/Kconfig" | 696 | source "crypto/Kconfig" |
697 | |||
698 | config PPC_CLOCK | ||
699 | bool | ||
700 | default n | ||