blob: 6d388c9d0e209fd22460eb22d27efadd03168a18 [file] [log] [blame]
Russell Kinga09e64f2008-08-05 16:14:15 +01001/*
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 */
Russell Kingf4117ac2011-01-04 18:07:14 +000015#define PLAT_PHYS_OFFSET UL(0x00000000)
Russell Kinga09e64f2008-08-05 16:14:15 +010016
17#if !defined(__ASSEMBLY__) && defined(CONFIG_PCI)
18
Russell Kingb65b4782010-05-22 20:58:51 +010019void ixp4xx_adjust_zones(unsigned long *size, unsigned long *holes);
Russell Kinga09e64f2008-08-05 16:14:15 +010020
Russell Kingb65b4782010-05-22 20:58:51 +010021#define arch_adjust_zones(size, holes) \
22 ixp4xx_adjust_zones(size, holes)
Russell Kinga09e64f2008-08-05 16:14:15 +010023
24#define ISA_DMA_THRESHOLD (SZ_64M - 1)
Russell Kingb9c78022008-11-29 10:50:22 +000025#define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_64M)
Russell Kinga09e64f2008-08-05 16:14:15 +010026
27#endif
28
Russell Kinga09e64f2008-08-05 16:14:15 +010029#endif