diff options
author | Wolfgang Denk <wd@denx.de> | 2011-06-01 22:01:07 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-06-01 22:01:07 +0200 |
commit | 2130b03309dcf56dab11b6fd0be3b4bedc7f628c (patch) | |
tree | 67bce234fa47a31b220b41b399ca4aec0a2250c5 /arch/powerpc/include/asm/fsl_pci.h | |
parent | eb3abce898ce0d9c711ed1d107bd8b0ccf3c07de (diff) | |
parent | 8f29084a4f020ddc2d15a0f374f08f80aa8b39a0 (diff) |
Merge branch 'master' of git://git.denx.de/u-boot-mpc85xx
* 'master' of git://git.denx.de/u-boot-mpc85xx:
powerpc/fsl_pci: Fix device tree fixups for newer platforms
Diffstat (limited to 'arch/powerpc/include/asm/fsl_pci.h')
-rw-r--r-- | arch/powerpc/include/asm/fsl_pci.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/arch/powerpc/include/asm/fsl_pci.h b/arch/powerpc/include/asm/fsl_pci.h index fc47a9f7ec..49bd2bfa39 100644 --- a/arch/powerpc/include/asm/fsl_pci.h +++ b/arch/powerpc/include/asm/fsl_pci.h @@ -233,7 +233,7 @@ int fsl_pcie_init_board(int busno); #if !defined(CONFIG_PCI) #define FT_FSL_PCI_SETUP #elif defined(CONFIG_FSL_CORENET) -#define FSL_PCIE_COMPAT "fsl,p4080-pcie" +#define FSL_PCIE_COMPAT CONFIG_SYS_FSL_PCIE_COMPAT #define FT_FSL_PCI_SETUP \ FT_FSL_PCIE1_SETUP; \ FT_FSL_PCIE2_SETUP; \ @@ -242,7 +242,11 @@ int fsl_pcie_init_board(int busno); #define FT_FSL_PCIE_SETUP FT_FSL_PCI_SETUP #elif defined(CONFIG_MPC85xx) #define FSL_PCI_COMPAT "fsl,mpc8540-pci" +#ifdef CONFIG_SYS_FSL_PCIE_COMPAT +#define FSL_PCIE_COMPAT CONFIG_SYS_FSL_PCIE_COMPAT +#else #define FSL_PCIE_COMPAT "fsl,mpc8548-pcie" +#endif #define FT_FSL_PCI_SETUP \ FT_FSL_PCI1_SETUP; \ FT_FSL_PCI2_SETUP; \ |