summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2006-06-28 10:47:03 -0500
committerJon Loeliger <jdl@freescale.com>2006-08-09 13:51:05 -0500
commit34c3c0e01dbf1f8cc2bd08de92f2b89ba84921eb (patch)
treea7386d9f9b99d34c15bec88d1198c2e598f782b4 /cpu/mpc85xx
parentb6c5e1373b6ea0bb37a18e4aeecec00613d1cd39 (diff)
downloadu-boot-imx-34c3c0e01dbf1f8cc2bd08de92f2b89ba84921eb.zip
u-boot-imx-34c3c0e01dbf1f8cc2bd08de92f2b89ba84921eb.tar.gz
u-boot-imx-34c3c0e01dbf1f8cc2bd08de92f2b89ba84921eb.tar.bz2
* 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>
Diffstat (limited to 'cpu/mpc85xx')
-rw-r--r--cpu/mpc85xx/pci.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/cpu/mpc85xx/pci.c b/cpu/mpc85xx/pci.c
index ca11bce..cfb7dcd 100644
--- a/cpu/mpc85xx/pci.c
+++ b/cpu/mpc85xx/pci.c
@@ -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);