diff options
author | Peter Tyser <ptyser@xes-inc.com> | 2008-12-01 19:47:12 (GMT) |
---|---|---|
committer | Andrew Fleming-AFLEMING <afleming@freescale.com> | 2008-12-04 09:15:43 (GMT) |
commit | 9427ccde0355a2ebf47454e8e1be59f5b9864e08 (patch) | |
tree | 5c95d765704e06fa1e46bfa28c489d64448ed8a3 /cpu/mpc85xx/pci.c | |
parent | 35db1c6d34b57ae15e99cf03c8e8f8a6148d74f3 (diff) | |
download | u-boot-fsl-qoriq-9427ccde0355a2ebf47454e8e1be59f5b9864e08.tar.xz |
85xx: Add PORDEVSR_PCI1 define
Add define used to determine if PCI1 interface is in PCI or PCIX mode.
Convert users of the old PORDEVSR_PCI constant to use MPC85xx_PORDEVSR_PCI1
Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Signed-off-by: Andy Fleming <afleming@freescale.com>
Diffstat (limited to 'cpu/mpc85xx/pci.c')
-rw-r--r-- | cpu/mpc85xx/pci.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpu/mpc85xx/pci.c b/cpu/mpc85xx/pci.c index 112f18c..787c6eb 100644 --- a/cpu/mpc85xx/pci.c +++ b/cpu/mpc85xx/pci.c @@ -70,7 +70,7 @@ pci_mpc85xx_init(struct pci_controller *board_hose) */ pci_hose_write_config_word(hose, dev, PCI_STATUS, 0xffff); - if (!(gur->pordevsr & PORDEVSR_PCI)) { + if (!(gur->pordevsr & MPC85xx_PORDEVSR_PCI1)) { /* PCI-X init */ if (CONFIG_SYS_CLK_FREQ < 66000000) printf("PCI-X will only work at 66 MHz\n"); |