summaryrefslogtreecommitdiffstats
path: root/recipes/linux/linux-2.6.24/hipox/hipox-pci-max-size.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/linux/linux-2.6.24/hipox/hipox-pci-max-size.patch')
-rw-r--r--recipes/linux/linux-2.6.24/hipox/hipox-pci-max-size.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/recipes/linux/linux-2.6.24/hipox/hipox-pci-max-size.patch b/recipes/linux/linux-2.6.24/hipox/hipox-pci-max-size.patch
new file mode 100644
index 0000000000..bd261af5a3
--- /dev/null
+++ b/recipes/linux/linux-2.6.24/hipox/hipox-pci-max-size.patch
@@ -0,0 +1,21 @@
+diff -Nurd linux-2.6.24.orig//arch/arm/mach-hipox/pci.c linux-2.6.24/arch/arm/mach-hipox/pci.c
+--- linux-2.6.24.orig//arch/arm/mach-hipox/pci.c 2009-03-10 20:29:02.000000000 +0100
++++ linux-2.6.24/arch/arm/mach-hipox/pci.c 2009-03-10 21:10:47.000000000 +0100
+@@ -78,12 +78,14 @@
+ static unsigned long pci_trhfa_timeout = 0;
+ #endif // CONFIG_HIPOX_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