Merge branch 'topic/lola' into for-linus
[pandora-kernel.git] / arch / arm / mach-pxa / include / mach / memory.h
1 /*
2  *  arch/arm/mach-pxa/include/mach/memory.h
3  *
4  * Author:      Nicolas Pitre
5  * Copyright:   (C) 2001 MontaVista Software Inc.
6  *
7  * This program is free software; you can redistribute it and/or modify
8  * it under the terms of the GNU General Public License version 2 as
9  * published by the Free Software Foundation.
10  */
11
12 #ifndef __ASM_ARCH_MEMORY_H
13 #define __ASM_ARCH_MEMORY_H
14
15 /*
16  * Physical DRAM offset.
17  */
18 #define PLAT_PHYS_OFFSET        UL(0xa0000000)
19
20 #if !defined(__ASSEMBLY__) && defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI)
21 void cmx2xx_pci_adjust_zones(unsigned long *size, unsigned long *holes);
22
23 #define arch_adjust_zones(size, holes) \
24         cmx2xx_pci_adjust_zones(size, holes)
25
26 #define ISA_DMA_THRESHOLD       (PHYS_OFFSET + SZ_64M - 1)
27 #define MAX_DMA_ADDRESS         (PAGE_OFFSET + SZ_64M)
28 #endif
29
30 #endif