summaryrefslogtreecommitdiff
path: root/include/asm-arm/arch-pxa/memory.h
diff options
context:
space:
mode:
authorMike Rapoport <mike@compulab.co.il>2007-09-23 15:59:26 +0100
committerRussell King <rmk+kernel@arm.linux.org.uk>2007-10-15 18:53:57 +0100
commit3696a8a426f8caebd97463e9b5cf9f06c1c36759 (patch)
tree217d5ef3219b335f72360cfa7f0f1731443b09bb /include/asm-arm/arch-pxa/memory.h
parent3e0cc7ee045fb53e8215fed7442455c0cee0ee93 (diff)
[ARM] 4576/1: CM-X270 machine support
This patch provides core support for CM-X270 platform. Signed-off-by: Mike Rapoport <mike@compulab.co.il> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Diffstat (limited to 'include/asm-arm/arch-pxa/memory.h')
-rw-r--r--include/asm-arm/arch-pxa/memory.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asm-arm/arch-pxa/memory.h b/include/asm-arm/arch-pxa/memory.h
index e17f9881faf0..bee81d66c184 100644
--- a/include/asm-arm/arch-pxa/memory.h
+++ b/include/asm-arm/arch-pxa/memory.h
@@ -39,4 +39,14 @@
*/
#define NODE_MEM_SIZE_BITS 26
+#if !defined(__ASSEMBLY__) && defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI)
+void cmx270_pci_adjust_zones(int node, unsigned long *size,
+ unsigned long *holes);
+
+#define arch_adjust_zones(node, size, holes) \
+ cmx270_pci_adjust_zones(node, size, holes)
+
+#define ISA_DMA_THRESHOLD (PHYS_OFFSET + SZ_64M - 1)
+#endif
+
#endif