aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig88
1 files changed, 46 insertions, 42 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 631e5a0fb6ab..2729c6663d8a 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -1,15 +1,13 @@
1# For a description of the syntax of this configuration file,
2# see Documentation/kbuild/kconfig-language.txt.
3#
4
5mainmenu "Linux/PowerPC Kernel Configuration"
6
7source "arch/powerpc/platforms/Kconfig.cputype" 1source "arch/powerpc/platforms/Kconfig.cputype"
8 2
9config PPC32 3config PPC32
10 bool 4 bool
11 default y if !PPC64 5 default y if !PPC64
12 6
7config 32BIT
8 bool
9 default y if PPC32
10
13config 64BIT 11config 64BIT
14 bool 12 bool
15 default y if PPC64 13 default y if PPC64
@@ -22,6 +20,9 @@ config WORD_SIZE
22config ARCH_PHYS_ADDR_T_64BIT 20config ARCH_PHYS_ADDR_T_64BIT
23 def_bool PPC64 || PHYS_64BIT 21 def_bool PPC64 || PHYS_64BIT
24 22
23config ARCH_DMA_ADDR_T_64BIT
24 def_bool ARCH_PHYS_ADDR_T_64BIT
25
25config MMU 26config MMU
26 bool 27 bool
27 default y 28 default y
@@ -35,24 +36,12 @@ config GENERIC_TIME_VSYSCALL
35config GENERIC_CLOCKEVENTS 36config GENERIC_CLOCKEVENTS
36 def_bool y 37 def_bool y
37 38
38config GENERIC_HARDIRQS
39 bool
40 default y
41
42config GENERIC_HARDIRQS_NO__DO_IRQ
43 bool
44 default y
45
46config HAVE_SETUP_PER_CPU_AREA 39config HAVE_SETUP_PER_CPU_AREA
47 def_bool PPC64 40 def_bool PPC64
48 41
49config NEED_PER_CPU_EMBED_FIRST_CHUNK 42config NEED_PER_CPU_EMBED_FIRST_CHUNK
50 def_bool PPC64 43 def_bool PPC64
51 44
52config IRQ_PER_CPU
53 bool
54 default y
55
56config NR_IRQS 45config NR_IRQS
57 int "Number of virtual interrupt numbers" 46 int "Number of virtual interrupt numbers"
58 range 32 32768 47 range 32 32768
@@ -102,10 +91,6 @@ config GENERIC_HWEIGHT
102 bool 91 bool
103 default y 92 default y
104 93
105config GENERIC_FIND_NEXT_BIT
106 bool
107 default y
108
109config GENERIC_GPIO 94config GENERIC_GPIO
110 bool 95 bool
111 help 96 help
@@ -118,7 +103,7 @@ config PPC
118 bool 103 bool
119 default y 104 default y
120 select OF 105 select OF
121 select OF_FLATTREE 106 select OF_EARLY_FLATTREE
122 select HAVE_FTRACE_MCOUNT_RECORD 107 select HAVE_FTRACE_MCOUNT_RECORD
123 select HAVE_DYNAMIC_FTRACE 108 select HAVE_DYNAMIC_FTRACE
124 select HAVE_FUNCTION_TRACER 109 select HAVE_FUNCTION_TRACER
@@ -138,9 +123,17 @@ config PPC
138 select HAVE_OPROFILE 123 select HAVE_OPROFILE
139 select HAVE_SYSCALL_WRAPPERS if PPC64 124 select HAVE_SYSCALL_WRAPPERS if PPC64
140 select GENERIC_ATOMIC64 if PPC32 125 select GENERIC_ATOMIC64 if PPC32
126 select HAVE_IRQ_WORK
141 select HAVE_PERF_EVENTS 127 select HAVE_PERF_EVENTS
142 select HAVE_REGS_AND_STACK_ACCESS_API 128 select HAVE_REGS_AND_STACK_ACCESS_API
143 select HAVE_HW_BREAKPOINT if PERF_EVENTS && PPC_BOOK3S_64 129 select HAVE_HW_BREAKPOINT if PERF_EVENTS && PPC_BOOK3S_64
130 select HAVE_GENERIC_HARDIRQS
131 select HAVE_SPARSE_IRQ
132 select IRQ_PER_CPU
133 select GENERIC_IRQ_SHOW
134 select GENERIC_IRQ_SHOW_LEVEL
135 select HAVE_RCU_TABLE_FREE if SMP
136 select HAVE_SYSCALL_TRACEPOINTS
144 137
145config EARLY_PRINTK 138config EARLY_PRINTK
146 bool 139 bool
@@ -194,6 +187,12 @@ config SYS_SUPPORTS_APM_EMULATION
194 default y if PMAC_APM_EMU 187 default y if PMAC_APM_EMU
195 bool 188 bool
196 189
190config EPAPR_BOOT
191 bool
192 help
193 Used to allow a board to specify it wants an ePAPR compliant wrapper.
194 default n
195
197config DEFAULT_UIMAGE 196config DEFAULT_UIMAGE
198 bool 197 bool
199 help 198 help
@@ -210,7 +209,7 @@ config ARCH_HIBERNATION_POSSIBLE
210config ARCH_SUSPEND_POSSIBLE 209config ARCH_SUSPEND_POSSIBLE
211 def_bool y 210 def_bool y
212 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \ 211 depends on ADB_PMU || PPC_EFIKA || PPC_LITE5200 || PPC_83xx || \
213 PPC_85xx || PPC_86xx || PPC_PSERIES 212 (PPC_85xx && !SMP) || PPC_86xx || PPC_PSERIES || 44x || 40x
214 213
215config PPC_DCR_NATIVE 214config PPC_DCR_NATIVE
216 bool 215 bool
@@ -390,19 +389,6 @@ config IRQ_ALL_CPUS
390 CPU. Generally saying Y is safe, although some problems have been 389 CPU. Generally saying Y is safe, although some problems have been
391 reported with SMP Power Macintoshes with this option enabled. 390 reported with SMP Power Macintoshes with this option enabled.
392 391
393config SPARSE_IRQ
394 bool "Support sparse irq numbering"
395 default n
396 help
397 This enables support for sparse irqs. This is useful for distro
398 kernels that want to define a high CONFIG_NR_CPUS value but still
399 want to have low kernel memory footprint on smaller machines.
400
401 ( Sparse IRQs can also be beneficial on NUMA boxes, as they spread
402 out the irq_desc[] array in a more NUMA-friendly way. )
403
404 If you don't know what to do here, say N.
405
406config NUMA 392config NUMA
407 bool "NUMA support" 393 bool "NUMA support"
408 depends on PPC64 394 depends on PPC64
@@ -596,13 +582,11 @@ config EXTRA_TARGETS
596 582
597 If unsure, leave blank 583 If unsure, leave blank
598 584
599if !44x || BROKEN
600config ARCH_WANTS_FREEZER_CONTROL 585config ARCH_WANTS_FREEZER_CONTROL
601 def_bool y 586 def_bool y
602 depends on ADB_PMU 587 depends on ADB_PMU
603 588
604source kernel/power/Kconfig 589source kernel/power/Kconfig
605endif
606 590
607config SECCOMP 591config SECCOMP
608 bool "Enable seccomp to safely compute untrusted bytecode" 592 bool "Enable seccomp to safely compute untrusted bytecode"
@@ -683,13 +667,25 @@ config FSL_PMC
683 Freescale MPC85xx/MPC86xx power management controller support 667 Freescale MPC85xx/MPC86xx power management controller support
684 (suspend/resume). For MPC83xx see platforms/83xx/suspend.c 668 (suspend/resume). For MPC83xx see platforms/83xx/suspend.c
685 669
670config PPC4xx_CPM
671 bool
672 default y
673 depends on SUSPEND && (44x || 40x)
674 help
675 PPC4xx Clock Power Management (CPM) support (suspend/resume).
676 It also enables support for two different idle states (idle-wait
677 and idle-doze).
678
686config 4xx_SOC 679config 4xx_SOC
687 bool 680 bool
688 681
689config FSL_LBC 682config FSL_LBC
690 bool 683 bool "Freescale Local Bus support"
684 depends on FSL_SOC
691 help 685 help
692 Freescale Localbus support 686 Enables reporting of errors from the Freescale local bus
687 controller. Also contains some common code used by
688 drivers for specific local bus peripherals.
693 689
694config FSL_GTM 690config FSL_GTM
695 bool 691 bool
@@ -777,11 +773,19 @@ config HAS_RAPIDIO
777 773
778config RAPIDIO 774config RAPIDIO
779 bool "RapidIO support" 775 bool "RapidIO support"
780 depends on HAS_RAPIDIO 776 depends on HAS_RAPIDIO || PCI
781 help 777 help
782 If you say Y here, the kernel will include drivers and 778 If you say Y here, the kernel will include drivers and
783 infrastructure code to support RapidIO interconnect devices. 779 infrastructure code to support RapidIO interconnect devices.
784 780
781config FSL_RIO
782 bool "Freescale Embedded SRIO Controller support"
783 depends on RAPIDIO && HAS_RAPIDIO
784 default "n"
785 ---help---
786 Include support for RapidIO controller on Freescale embedded
787 processors (MPC8548, MPC8641, etc).
788
785source "drivers/rapidio/Kconfig" 789source "drivers/rapidio/Kconfig"
786 790
787endmenu 791endmenu