Skip to content
Snippets Groups Projects
Commit a9e642e2 authored by Wolfgang Denk's avatar Wolfgang Denk
Browse files

MPC5200: Set PCI retry counter to 0 = infinite retry;

The default of 255 is too short for slow devices.
Patch by Martin Nykodym, 12 Dec 2005
parent e43232de
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,10 @@ ...@@ -2,6 +2,10 @@
Changes for U-Boot 1.1.4: Changes for U-Boot 1.1.4:
====================================================================== ======================================================================
* MPC5200: Set PCI retry counter to 0 = infinite retry;
The default of 255 is too short for slow devices.
Patch by Martin Nykodym, 12 Dec 2005
* Change port configuration for O2DNT (CODEC1 on PSC1). * Change port configuration for O2DNT (CODEC1 on PSC1).
* Fix register for PCI async mode on PPC440EP * Fix register for PCI async mode on PPC440EP
......
...@@ -145,7 +145,11 @@ void pci_mpc5xxx_init (struct pci_controller *hose) ...@@ -145,7 +145,11 @@ void pci_mpc5xxx_init (struct pci_controller *hose)
/* Disable interrupts from PCI controller */ /* Disable interrupts from PCI controller */
*(vu_long *)MPC5XXX_PCI_GSCR &= ~(7 << 12); *(vu_long *)MPC5XXX_PCI_GSCR &= ~(7 << 12);
*(vu_long *)MPC5XXX_PCI_ICR &= ~(7 << 24); *(vu_long *)MPC5XXX_PCI_ICR &= ~(7 << 24);
/* Set PCI retry counter to 0 = infinite retry. */
/* The default of 255 is too short for slow devices. */
*(vu_long *)MPC5XXX_PCI_ICR &= 0xFFFFFF00;
/* Disable initiator windows */ /* Disable initiator windows */
*(vu_long *)MPC5XXX_PCI_IWCR = 0; *(vu_long *)MPC5XXX_PCI_IWCR = 0;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment