2 * arch/arm/mach-pxa/include/mach/memory.h
4 * Author: Nicolas Pitre
5 * Copyright: (C) 2001 MontaVista Software Inc.
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.
12 #ifndef __ASM_ARCH_MEMORY_H
13 #define __ASM_ARCH_MEMORY_H
16 * Physical DRAM offset.
18 #define PLAT_PHYS_OFFSET UL(0xa0000000)
20 #if !defined(__ASSEMBLY__) && defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI)
21 void cmx2xx_pci_adjust_zones(unsigned long *size, unsigned long *holes);
23 #define arch_adjust_zones(size, holes) \
24 cmx2xx_pci_adjust_zones(size, holes)
26 #define ISA_DMA_THRESHOLD (PHYS_OFFSET + SZ_64M - 1)
27 #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_64M)