summaryrefslogtreecommitdiffstats
path: root/arch/powerpc/cpu/mpc85xx/p4080_ids.c
diff options
context:
space:
mode:
authorTimur Tabi <timur@freescale.com>2012-07-25 11:03:34 +0000
committerAndy Fleming <afleming@freescale.com>2012-08-08 18:32:16 -0500
commit5c5befda58e4a3f198a033e8a9952b2b309acc86 (patch)
tree631cd1488116efe75498985641df0db02f3c5b0c /arch/powerpc/cpu/mpc85xx/p4080_ids.c
parent718f2b318764233cb5dec5e740962a66eecbabad (diff)
downloadtalos-obmc-uboot-5c5befda58e4a3f198a033e8a9952b2b309acc86.tar.gz
talos-obmc-uboot-5c5befda58e4a3f198a033e8a9952b2b309acc86.zip
powerpc/85xx: use CONFIG_SYS_FSL_PCIE_COMPAT macro when setting the PCI LIODNs
The SET_PCI_LIODN() macro takes a compatible property string as a parameter, so that it knows which PCI device tree node to look for. The calls to these macros are using a hard-coded string, but we already have the CONFIG_SYS_FSL_PCIE_COMPAT macro which contains the same string, so we should use that. Signed-off-by: Timur Tabi <timur@freescale.com> Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'arch/powerpc/cpu/mpc85xx/p4080_ids.c')
-rw-r--r--arch/powerpc/cpu/mpc85xx/p4080_ids.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/powerpc/cpu/mpc85xx/p4080_ids.c b/arch/powerpc/cpu/mpc85xx/p4080_ids.c
index a6ea6af64f..5c287fbf46 100644
--- a/arch/powerpc/cpu/mpc85xx/p4080_ids.c
+++ b/arch/powerpc/cpu/mpc85xx/p4080_ids.c
@@ -52,9 +52,9 @@ struct liodn_id_table liodn_tbl[] = {
SET_SDHC_LIODN(1, 156),
- SET_PCI_LIODN("fsl,p4080-pcie", 1, 193),
- SET_PCI_LIODN("fsl,p4080-pcie", 2, 194),
- SET_PCI_LIODN("fsl,p4080-pcie", 3, 195),
+ SET_PCI_LIODN(CONFIG_SYS_FSL_PCIE_COMPAT, 1, 193),
+ SET_PCI_LIODN(CONFIG_SYS_FSL_PCIE_COMPAT, 2, 194),
+ SET_PCI_LIODN(CONFIG_SYS_FSL_PCIE_COMPAT, 3, 195),
SET_DMA_LIODN(1, 196),
SET_DMA_LIODN(2, 197),
OpenPOWER on IntegriCloud