diff options
author | Kumar Gala <galak@kernel.crashing.org> | 2007-10-11 10:13:41 -0400 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-10-11 10:14:31 -0400 |
commit | 0bfd5df53a99809f60e12bda9c5ef5d8f14ef2e3 (patch) | |
tree | 91e769edc55db8fc8fc26942686ea2f74e206da3 /include | |
parent | ab9683ca8162f9d4b38e04b956278d8cc647dcfc (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')
-rw-r--r-- | include/asm-powerpc/cpm2.h | 4 | ||||
-rw-r--r-- | include/asm-powerpc/fs_pd.h | 2 | ||||
-rw-r--r-- | include/asm-powerpc/mpc85xx.h | 45 |
3 files changed, 4 insertions, 47 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) |
diff --git a/include/asm-powerpc/fs_pd.h b/include/asm-powerpc/fs_pd.h index 64706a0532d3..9361cd5342cc 100644 --- a/include/asm-powerpc/fs_pd.h +++ b/include/asm-powerpc/fs_pd.h | |||
@@ -19,8 +19,6 @@ | |||
19 | 19 | ||
20 | #if defined(CONFIG_8260) | 20 | #if defined(CONFIG_8260) |
21 | #include <asm/mpc8260.h> | 21 | #include <asm/mpc8260.h> |
22 | #elif defined(CONFIG_85xx) | ||
23 | #include <asm/mpc85xx.h> | ||
24 | #endif | 22 | #endif |
25 | 23 | ||
26 | #define cpm2_map(member) (&cpm2_immr->member) | 24 | #define cpm2_map(member) (&cpm2_immr->member) |
diff --git a/include/asm-powerpc/mpc85xx.h b/include/asm-powerpc/mpc85xx.h deleted file mode 100644 index 54142997a584..000000000000 --- a/include/asm-powerpc/mpc85xx.h +++ /dev/null | |||
@@ -1,45 +0,0 @@ | |||
1 | /* | ||
2 | * include/asm-powerpc/mpc85xx.h | ||
3 | * | ||
4 | * MPC85xx definitions | ||
5 | * | ||
6 | * Maintainer: Kumar Gala <galak@kernel.crashing.org> | ||
7 | * | ||
8 | * Copyright 2004 Freescale Semiconductor, Inc | ||
9 | * | ||
10 | * This program is free software; you can redistribute it and/or modify it | ||
11 | * under the terms of the GNU General Public License as published by the | ||
12 | * Free Software Foundation; either version 2 of the License, or (at your | ||
13 | * option) any later version. | ||
14 | */ | ||
15 | |||
16 | #ifdef __KERNEL__ | ||
17 | #ifndef __ASM_MPC85xx_H__ | ||
18 | #define __ASM_MPC85xx_H__ | ||
19 | |||
20 | #include <asm/mmu.h> | ||
21 | |||
22 | #ifdef CONFIG_85xx | ||
23 | |||
24 | #if defined(CONFIG_MPC8540_ADS) || defined(CONFIG_MPC8560_ADS) | ||
25 | #include <platforms/85xx/mpc85xx_ads.h> | ||
26 | #endif | ||
27 | #if defined(CONFIG_MPC8555_CDS) || defined(CONFIG_MPC8548_CDS) | ||
28 | #include <platforms/85xx/mpc8555_cds.h> | ||
29 | #endif | ||
30 | #ifdef CONFIG_MPC85xx_CDS | ||
31 | #include <platforms/85xx/mpc85xx_cds.h> | ||
32 | #endif | ||
33 | |||
34 | /* Let modules/drivers get at CCSRBAR */ | ||
35 | extern phys_addr_t get_ccsrbar(void); | ||
36 | |||
37 | #ifdef MODULE | ||
38 | #define CCSRBAR get_ccsrbar() | ||
39 | #else | ||
40 | #define CCSRBAR BOARD_CCSRBAR | ||
41 | #endif | ||
42 | |||
43 | #endif /* CONFIG_85xx */ | ||
44 | #endif /* __ASM_MPC85xx_H__ */ | ||
45 | #endif /* __KERNEL__ */ | ||