]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[POWERPC] 86xx/85xx: Move 8641 PCI-Express to arch/powerpc/sysdev/fsl_pcie.c.
authorJon Loeliger <jdl@freescale.com>
Wed, 7 Mar 2007 20:48:45 +0000 (14:48 -0600)
committerKumar Gala <galak@kernel.crashing.org>
Mon, 26 Mar 2007 22:03:25 +0000 (17:03 -0500)
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>
arch/powerpc/Kconfig
arch/powerpc/platforms/86xx/Makefile
arch/powerpc/sysdev/Makefile
arch/powerpc/sysdev/fsl_pcie.c [moved from arch/powerpc/platforms/86xx/mpc86xx_pcie.c with 99% similarity]

index 20a8fdcaacbfd1e0241a0f5238d527f406325e4f..740892a13c767baccc9f94fb43c07964eb362ac8 100644 (file)
@@ -173,6 +173,7 @@ config PPC_86xx
        bool "Freescale 86xx"
        select 6xx
        select FSL_SOC
+       select FSL_PCIE
        select PPC_FPU
        select ALTIVEC
        help
@@ -645,6 +646,10 @@ config SBUS
 config FSL_SOC
        bool
 
+config FSL_PCIE
+       bool
+       depends on PPC_86xx
+
 # Yes MCA RS/6000s exist but Linux-PPC does not currently support any
 config MCA
        bool
index 476a6eeee710d314eb2ad4eba2a2987b71d5d9aa..418fd8f4d26805b37e05ecd02d70f10eb03d5764 100644 (file)
@@ -4,4 +4,4 @@
 
 obj-$(CONFIG_SMP)              += mpc86xx_smp.o
 obj-$(CONFIG_MPC8641_HPCN)     += mpc86xx_hpcn.o
-obj-$(CONFIG_PCI)              += pci.o mpc86xx_pcie.o
+obj-$(CONFIG_PCI)              += pci.o
index e57379d22b6123a1fc42bf7f01dd1ccfd5130f1a..83fbbfc779a1fa772eb11910e8f15d221a0d4a83 100644 (file)
@@ -11,6 +11,7 @@ obj-$(CONFIG_PPC_PMI)         += pmi.o
 obj-$(CONFIG_U3_DART)          += dart_iommu.o
 obj-$(CONFIG_MMIO_NVRAM)       += mmio_nvram.o
 obj-$(CONFIG_FSL_SOC)          += fsl_soc.o
+obj-$(CONFIG_FSL_PCIE)         += fsl_pcie.o
 obj-$(CONFIG_TSI108_BRIDGE)    += tsi108_pci.o tsi108_dev.o
 obj-$(CONFIG_QUICC_ENGINE)     += qe_lib/
 
similarity index 99%
rename from arch/powerpc/platforms/86xx/mpc86xx_pcie.c
rename to arch/powerpc/sysdev/fsl_pcie.c
index a2f4f730213e7f28b3a9fa8dc3a5e7569dba69d2..041c07e8b665aad108b8d5b76ff891157c4a875b 100644 (file)
@@ -24,8 +24,6 @@
 #include <asm/pci-bridge.h>
 #include <asm/machdep.h>
 
-#include "mpc86xx.h"
-
 #define PCI_CFG_OUT out_be32
 
 /* ERRATA PCI-Ex 14 PCIE Controller timeout */