* Switched default PCI speed for 8540 ADS back to 33MHz

* Added comments and a printf to warn that PCI-X won't
  work at 33MHz
  Patch by Andy Fleming 17-Mar-2006

Signed-off-by: Andy Fleming <afleming@freescale.com>
This commit is contained in:
Matthew McClintock
2006-06-28 10:47:03 -05:00
committed by Jon Loeliger
parent b6c5e1373b
commit 34c3c0e01d
3 changed files with 11 additions and 1 deletions

View File

@@ -72,6 +72,9 @@ pci_mpc85xx_init(struct pci_controller *board_hose)
if (!(gur->pordevsr & PORDEVSR_PCI)) {
/* PCI-X init */
if (CONFIG_SYS_CLK_FREQ < 66000000)
printf("PCI-X will only work at 66 MHz\n");
reg16 = PCI_X_CMD_MAX_SPLIT | PCI_X_CMD_MAX_READ
| PCI_X_CMD_ERO | PCI_X_CMD_DPERR_E;
pci_hose_write_config_word(hose, dev, PCIX_COMMAND, reg16);