IXP4xx: Remove time limit for PCI TRDY to enable use of slow devices.
authorKrzysztof Hałasa <khc@pm.waw.pl>
Sun, 17 Apr 2011 19:06:06 +0000 (21:06 +0200)
committerJason Cooper <jason@lakedaemon.net>
Thu, 22 Nov 2012 03:35:58 +0000 (03:35 +0000)
Signed-off-by: Krzysztof Hałasa <khc@pm.waw.pl>
arch/arm/mach-ixp4xx/common-pci.c

index 1694f01..6d6bde3 100644 (file)
@@ -410,6 +410,7 @@ void __init ixp4xx_pci_preinit(void)
                 * Enable the IO window to be way up high, at 0xfffffc00
                 */
                local_write_config(PCI_BASE_ADDRESS_5, 4, 0xfffffc01);
+               local_write_config(0x40, 4, 0x000080FF); /* No TRDY time limit */
        } else {
                printk("PCI: IXP4xx is target - No bus scan performed\n");
        }