Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 1 | /* |
| 2 | * arch/arm/mach-ixp4xx/include/mach/memory.h |
| 3 | * |
| 4 | * Copyright (c) 2001-2004 MontaVista Software, Inc. |
| 5 | */ |
| 6 | |
| 7 | #ifndef __ASM_ARCH_MEMORY_H |
| 8 | #define __ASM_ARCH_MEMORY_H |
| 9 | |
| 10 | #include <asm/sizes.h> |
| 11 | |
| 12 | /* |
| 13 | * Physical DRAM offset. |
| 14 | */ |
| 15 | #define PHYS_OFFSET UL(0x00000000) |
| 16 | |
| 17 | #if !defined(__ASSEMBLY__) && defined(CONFIG_PCI) |
| 18 | |
| 19 | void ixp4xx_adjust_zones(int node, unsigned long *size, unsigned long *holes); |
| 20 | |
| 21 | #define arch_adjust_zones(node, size, holes) \ |
| 22 | ixp4xx_adjust_zones(node, size, holes) |
| 23 | |
| 24 | #define ISA_DMA_THRESHOLD (SZ_64M - 1) |
Russell King | b9c7802 | 2008-11-29 10:50:22 +0000 | [diff] [blame] | 25 | #define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_64M) |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 26 | |
| 27 | #endif |
| 28 | |
Russell King | a09e64f | 2008-08-05 16:14:15 +0100 | [diff] [blame] | 29 | #endif |