aboutsummaryrefslogtreecommitdiffstats
path: root/arch/ppc/platforms
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-01-23 07:12:06 -0500
committerKumar Gala <galak@kernel.crashing.org>2008-01-23 20:35:15 -0500
commitde3c8d41828553fa4cbba0399826e20a02670663 (patch)
tree8228ee8626f9b991f68f00c95635fbb8922476c6 /arch/ppc/platforms
parent5febf1cd79425d3c65d9a66a2299f0d06dc4b1eb (diff)
[POWERPC] Move RapidIO support code from arch/ppc
Do just enough to move the RapidIO support code for 85xx over from arch/ppc into arch/powerpc and make it still build. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'arch/ppc/platforms')
-rw-r--r--arch/ppc/platforms/85xx/mpc85xx_ads_common.c3
-rw-r--r--arch/ppc/platforms/85xx/stx_gp3.c2
-rw-r--r--arch/ppc/platforms/85xx/tqm85xx.c2
3 files changed, 3 insertions, 4 deletions
diff --git a/arch/ppc/platforms/85xx/mpc85xx_ads_common.c b/arch/ppc/platforms/85xx/mpc85xx_ads_common.c
index 674806e001f6..0706dca5a8ea 100644
--- a/arch/ppc/platforms/85xx/mpc85xx_ads_common.c
+++ b/arch/ppc/platforms/85xx/mpc85xx_ads_common.c
@@ -42,8 +42,6 @@
42 42
43#include <mm/mmu_decl.h> 43#include <mm/mmu_decl.h>
44 44
45#include <syslib/ppc85xx_rio.h>
46
47#include <platforms/85xx/mpc85xx_ads_common.h> 45#include <platforms/85xx/mpc85xx_ads_common.h>
48 46
49#ifndef CONFIG_PCI 47#ifndef CONFIG_PCI
@@ -190,6 +188,7 @@ mpc85xx_exclude_device(u_char bus, u_char devfn)
190#endif /* CONFIG_PCI */ 188#endif /* CONFIG_PCI */
191 189
192#ifdef CONFIG_RAPIDIO 190#ifdef CONFIG_RAPIDIO
191extern void mpc85xx_rio_setup(int law_start, int law_size);
193void platform_rio_init(void) 192void platform_rio_init(void)
194{ 193{
195 /* 512MB RIO LAW at 0xc0000000 */ 194 /* 512MB RIO LAW at 0xc0000000 */
diff --git a/arch/ppc/platforms/85xx/stx_gp3.c b/arch/ppc/platforms/85xx/stx_gp3.c
index 731b40eacfdb..8748da3b3e0e 100644
--- a/arch/ppc/platforms/85xx/stx_gp3.c
+++ b/arch/ppc/platforms/85xx/stx_gp3.c
@@ -54,7 +54,6 @@
54 54
55#include <syslib/cpm2_pic.h> 55#include <syslib/cpm2_pic.h>
56#include <syslib/ppc85xx_common.h> 56#include <syslib/ppc85xx_common.h>
57#include <syslib/ppc85xx_rio.h>
58 57
59 58
60unsigned char __res[sizeof(bd_t)]; 59unsigned char __res[sizeof(bd_t)];
@@ -270,6 +269,7 @@ int mpc85xx_exclude_device(u_char bus, u_char devfn)
270#endif /* CONFIG_PCI */ 269#endif /* CONFIG_PCI */
271 270
272#ifdef CONFIG_RAPIDIO 271#ifdef CONFIG_RAPIDIO
272extern void mpc85xx_rio_setup(int law_start, int law_size);
273void 273void
274platform_rio_init(void) 274platform_rio_init(void)
275{ 275{
diff --git a/arch/ppc/platforms/85xx/tqm85xx.c b/arch/ppc/platforms/85xx/tqm85xx.c
index 4ee2bd156dc5..2a863a83d4c8 100644
--- a/arch/ppc/platforms/85xx/tqm85xx.c
+++ b/arch/ppc/platforms/85xx/tqm85xx.c
@@ -54,7 +54,6 @@
54#include <syslib/ppc85xx_setup.h> 54#include <syslib/ppc85xx_setup.h>
55#include <syslib/cpm2_pic.h> 55#include <syslib/cpm2_pic.h>
56#include <syslib/ppc85xx_common.h> 56#include <syslib/ppc85xx_common.h>
57#include <syslib/ppc85xx_rio.h>
58 57
59#ifndef CONFIG_PCI 58#ifndef CONFIG_PCI
60unsigned long isa_io_base = 0; 59unsigned long isa_io_base = 0;
@@ -309,6 +308,7 @@ int mpc85xx_exclude_device(u_char bus, u_char devfn)
309#endif /* CONFIG_PCI */ 308#endif /* CONFIG_PCI */
310 309
311#ifdef CONFIG_RAPIDIO 310#ifdef CONFIG_RAPIDIO
311extern void mpc85xx_rio_setup(int law_start, int law_size);
312void platform_rio_init(void) 312void platform_rio_init(void)
313{ 313{
314 /* 512MB RIO LAW at 0xc0000000 */ 314 /* 512MB RIO LAW at 0xc0000000 */