aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-powerpc/cpm2.h
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2007-10-11 10:13:41 -0400
committerKumar Gala <galak@kernel.crashing.org>2007-10-11 10:14:31 -0400
commit0bfd5df53a99809f60e12bda9c5ef5d8f14ef2e3 (patch)
tree91e769edc55db8fc8fc26942686ea2f74e206da3 /include/asm-powerpc/cpm2.h
parentab9683ca8162f9d4b38e04b956278d8cc647dcfc (diff)
[POWERPC] 85xx: Killed <asm/mpc85xx.h>
asm-powerpc/mpc85xx.h was really a hold over from arch/ppc. Now that more decoupling has occurred we can remove <asm/mpc85xx.h> and some of its legacy. As part of this we moved the definition of CPM_MAP_ADDR into cpm2.h for 85xx platforms. This is a stop gap until drivers stop using CPM_MAP_ADDR. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'include/asm-powerpc/cpm2.h')
-rw-r--r--include/asm-powerpc/cpm2.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/asm-powerpc/cpm2.h b/include/asm-powerpc/cpm2.h
index e698b1d09dcf..f1112c15ef96 100644
--- a/include/asm-powerpc/cpm2.h
+++ b/include/asm-powerpc/cpm2.h
@@ -13,6 +13,10 @@
13#include <asm/immap_cpm2.h> 13#include <asm/immap_cpm2.h>
14#include <asm/cpm.h> 14#include <asm/cpm.h>
15 15
16#ifdef CONFIG_PPC_85xx
17#define CPM_MAP_ADDR (get_immrbase() + 0x80000)
18#endif
19
16/* CPM Command register. 20/* CPM Command register.
17*/ 21*/
18#define CPM_CR_RST ((uint)0x80000000) 22#define CPM_CR_RST ((uint)0x80000000)