aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-2.6.24/oxnas/oxnas-pci-max-size.patch
blob: 89af49bd911fb26abeaf4d4a398d666f91b83c53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff -Nurd linux-2.6.24.orig//arch/arm/mach-oxnas/pci.c linux-2.6.24/arch/arm/mach-oxnas/pci.c
--- linux-2.6.24.orig//arch/arm/mach-oxnas/pci.c	2009-03-10 20:29:02.000000000 +0100
+++ linux-2.6.24/arch/arm/mach-oxnas/pci.c	2009-03-10 21:10:47.000000000 +0100
@@ -78,12 +78,14 @@
 static unsigned long pci_trhfa_timeout = 0;
 #endif // CONFIG_OXNAS_PCI_RESET
 
+// processor allows up to 8MB PCI address ranges maximum by design
+// we split this up to 4MB prefetchable and 4MB non-prefetchable
+
 #define PCI_BUS_NONMEM_START			0x00000000
-#define PCI_BUS_NONMEM_SIZE	    		0x00080000
-                               
+#define PCI_BUS_NONMEM_SIZE	    		0x00400000
                                
 #define PCI_BUS_PREMEM_START			PCI_BUS_NONMEM_START + PCI_BUS_NONMEM_SIZE
-#define PCI_BUS_PREMEM_SIZE	    		0x00080000
+#define PCI_BUS_PREMEM_SIZE	    		0x00400000
 
 #define SYNOPSYS_PCI_MEMORY_BASE_ADDRESS        PCI_BASE_ADDRESS_0
 #define SYNOPSYS_PCI_DUAL_CYCLE_BASE_ADDRESS    PCI_BASE_ADDRESS_2