diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2006-11-11 01:24:53 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2006-12-04 00:08:25 -0500 |
commit | 4c75a6f441cdd1c69a6c173bc7944e12c2ba6f84 (patch) | |
tree | 260e01e5cbd46d335a3d44b60c34dee51e053774 /arch/ppc/Kconfig | |
parent | 69108cf00679716bcab58acb3135390654c5bb99 (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/ppc/Kconfig')
-rw-r--r-- | arch/ppc/Kconfig | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/arch/ppc/Kconfig b/arch/ppc/Kconfig index ef018e25fb07..edf71a4ecc95 100644 --- a/arch/ppc/Kconfig +++ b/arch/ppc/Kconfig | |||
@@ -77,9 +77,11 @@ config 6xx | |||
77 | 77 | ||
78 | config 40x | 78 | config 40x |
79 | bool "40x" | 79 | bool "40x" |
80 | select PPC_DCR_NATIVE | ||
80 | 81 | ||
81 | config 44x | 82 | config 44x |
82 | bool "44x" | 83 | bool "44x" |
84 | select PPC_DCR_NATIVE | ||
83 | 85 | ||
84 | config 8xx | 86 | config 8xx |
85 | bool "8xx" | 87 | bool "8xx" |
@@ -95,6 +97,15 @@ endchoice | |||
95 | config PPC_FPU | 97 | config PPC_FPU |
96 | bool | 98 | bool |
97 | 99 | ||
100 | config PPC_DCR_NATIVE | ||
101 | bool | ||
102 | default n | ||
103 | |||
104 | config PPC_DCR | ||
105 | bool | ||
106 | depends on PPC_DCR_NATIVE | ||
107 | default y | ||
108 | |||
98 | config BOOKE | 109 | config BOOKE |
99 | bool | 110 | bool |
100 | depends on E200 || E500 | 111 | depends on E200 || E500 |