diff options
author | Jon Loeliger <jdl@freescale.com> | 2007-03-07 15:48:45 -0500 |
---|---|---|
committer | Kumar Gala <galak@kernel.crashing.org> | 2007-03-26 18:03:25 -0400 |
commit | 3e4e97f42e134e1fe46bdf36bd5d874f5b4f8755 (patch) | |
tree | 21b019e1c7258a408bec7059ddfee939f2b8e7f1 | |
parent | e0e3c8d432ab9503b167e53d60b145f0e26bb1e2 (diff) |
[POWERPC] 86xx/85xx: Move 8641 PCI-Express to arch/powerpc/sysdev/fsl_pcie.c.
This move sets the stage for the use of generic PCI Express
code in 85xx and 86xx parts from FSL. Subsequent patches
for 8548 and 8544 will be able to use this shared code.
Signed-off-by: Jon Loeliger <jdl@freescale.com>
Acked-by: Andy Fleming <afleming@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
-rw-r--r-- | arch/powerpc/Kconfig | 5 | ||||
-rw-r--r-- | arch/powerpc/platforms/86xx/Makefile | 2 | ||||
-rw-r--r-- | arch/powerpc/sysdev/Makefile | 1 | ||||
-rw-r--r-- | arch/powerpc/sysdev/fsl_pcie.c (renamed from arch/powerpc/platforms/86xx/mpc86xx_pcie.c) | 2 |
4 files changed, 7 insertions, 3 deletions
diff --git a/arch/powerpc/Kconfig b/arch/powerpc/Kconfig index 20a8fdcaacbf..740892a13c76 100644 --- a/arch/powerpc/Kconfig +++ b/arch/powerpc/Kconfig | |||
@@ -173,6 +173,7 @@ config PPC_86xx | |||
173 | bool "Freescale 86xx" | 173 | bool "Freescale 86xx" |
174 | select 6xx | 174 | select 6xx |
175 | select FSL_SOC | 175 | select FSL_SOC |
176 | select FSL_PCIE | ||
176 | select PPC_FPU | 177 | select PPC_FPU |
177 | select ALTIVEC | 178 | select ALTIVEC |
178 | help | 179 | help |
@@ -645,6 +646,10 @@ config SBUS | |||
645 | config FSL_SOC | 646 | config FSL_SOC |
646 | bool | 647 | bool |
647 | 648 | ||
649 | config FSL_PCIE | ||
650 | bool | ||
651 | depends on PPC_86xx | ||
652 | |||
648 | # Yes MCA RS/6000s exist but Linux-PPC does not currently support any | 653 | # Yes MCA RS/6000s exist but Linux-PPC does not currently support any |
649 | config MCA | 654 | config MCA |
650 | bool | 655 | bool |
diff --git a/arch/powerpc/platforms/86xx/Makefile b/arch/powerpc/platforms/86xx/Makefile index 476a6eeee710..418fd8f4d268 100644 --- a/arch/powerpc/platforms/86xx/Makefile +++ b/arch/powerpc/platforms/86xx/Makefile | |||
@@ -4,4 +4,4 @@ | |||
4 | 4 | ||
5 | obj-$(CONFIG_SMP) += mpc86xx_smp.o | 5 | obj-$(CONFIG_SMP) += mpc86xx_smp.o |
6 | obj-$(CONFIG_MPC8641_HPCN) += mpc86xx_hpcn.o | 6 | obj-$(CONFIG_MPC8641_HPCN) += mpc86xx_hpcn.o |
7 | obj-$(CONFIG_PCI) += pci.o mpc86xx_pcie.o | 7 | obj-$(CONFIG_PCI) += pci.o |
diff --git a/arch/powerpc/sysdev/Makefile b/arch/powerpc/sysdev/Makefile index e57379d22b61..83fbbfc779a1 100644 --- a/arch/powerpc/sysdev/Makefile +++ b/arch/powerpc/sysdev/Makefile | |||
@@ -11,6 +11,7 @@ obj-$(CONFIG_PPC_PMI) += pmi.o | |||
11 | obj-$(CONFIG_U3_DART) += dart_iommu.o | 11 | obj-$(CONFIG_U3_DART) += dart_iommu.o |
12 | obj-$(CONFIG_MMIO_NVRAM) += mmio_nvram.o | 12 | obj-$(CONFIG_MMIO_NVRAM) += mmio_nvram.o |
13 | obj-$(CONFIG_FSL_SOC) += fsl_soc.o | 13 | obj-$(CONFIG_FSL_SOC) += fsl_soc.o |
14 | obj-$(CONFIG_FSL_PCIE) += fsl_pcie.o | ||
14 | obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o | 15 | obj-$(CONFIG_TSI108_BRIDGE) += tsi108_pci.o tsi108_dev.o |
15 | obj-$(CONFIG_QUICC_ENGINE) += qe_lib/ | 16 | obj-$(CONFIG_QUICC_ENGINE) += qe_lib/ |
16 | 17 | ||
diff --git a/arch/powerpc/platforms/86xx/mpc86xx_pcie.c b/arch/powerpc/sysdev/fsl_pcie.c index a2f4f730213e..041c07e8b665 100644 --- a/arch/powerpc/platforms/86xx/mpc86xx_pcie.c +++ b/arch/powerpc/sysdev/fsl_pcie.c | |||
@@ -24,8 +24,6 @@ | |||
24 | #include <asm/pci-bridge.h> | 24 | #include <asm/pci-bridge.h> |
25 | #include <asm/machdep.h> | 25 | #include <asm/machdep.h> |
26 | 26 | ||
27 | #include "mpc86xx.h" | ||
28 | |||
29 | #define PCI_CFG_OUT out_be32 | 27 | #define PCI_CFG_OUT out_be32 |
30 | 28 | ||
31 | /* ERRATA PCI-Ex 14 PCIE Controller timeout */ | 29 | /* ERRATA PCI-Ex 14 PCIE Controller timeout */ |