aboutsummaryrefslogtreecommitdiffstats
path: root/arch/powerpc/Kconfig
diff options
context:
space:
mode:
authorBenjamin Herrenschmidt <benh@kernel.crashing.org>2006-11-11 01:24:53 -0500
committerPaul Mackerras <paulus@samba.org>2006-12-04 00:08:25 -0500
commit4c75a6f441cdd1c69a6c173bc7944e12c2ba6f84 (patch)
tree260e01e5cbd46d335a3d44b60c34dee51e053774 /arch/powerpc/Kconfig
parent69108cf00679716bcab58acb3135390654c5bb99 (diff)
[POWERPC] Generic DCR infrastructure
This patch adds new dcr_map/dcr_read/dcr_write accessors for DCRs that can be used by drivers to transparently address either native DCRs or memory mapped DCRs. The implementation for memory mapped DCRs is done after the binding being currently worked on for SLOF and the Axon chipset. This patch enables it for the cell native platform Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/Kconfig')
-rw-r--r--arch/powerpc/Kconfig16
1 files changed, 16 insertions, 0 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig
index 96316c866107..0e564d30fc46 100644
--- a/arch/powerpc/Kconfig
+++ b/arch/powerpc/Kconfig
@@ -160,9 +160,11 @@ config PPC_86xx
160 160
161config 40x 161config 40x
162 bool "AMCC 40x" 162 bool "AMCC 40x"
163 select PPC_DCR_NATIVE
163 164
164config 44x 165config 44x
165 bool "AMCC 44x" 166 bool "AMCC 44x"
167 select PPC_DCR_NATIVE
166 168
167config 8xx 169config 8xx
168 bool "Freescale 8xx" 170 bool "Freescale 8xx"
@@ -208,6 +210,19 @@ config PPC_FPU
208 bool 210 bool
209 default y if PPC64 211 default y if PPC64
210 212
213config PPC_DCR_NATIVE
214 bool
215 default n
216
217config PPC_DCR_MMIO
218 bool
219 default n
220
221config PPC_DCR
222 bool
223 depends on PPC_DCR_NATIVE || PPC_DCR_MMIO
224 default y
225
211config BOOKE 226config BOOKE
212 bool 227 bool
213 depends on E200 || E500 228 depends on E200 || E500
@@ -453,6 +468,7 @@ config PPC_CELL
453config PPC_CELL_NATIVE 468config PPC_CELL_NATIVE
454 bool 469 bool
455 select PPC_CELL 470 select PPC_CELL
471 select PPC_DCR_MMIO
456 default n 472 default n
457 473
458config PPC_IBM_CELL_BLADE 474config PPC_IBM_CELL_BLADE