2005-04-17 05:20:36 +07:00
|
|
|
/*
|
2008-08-05 22:14:15 +07:00
|
|
|
* arch/arm/mach-ixp4xx/include/mach/memory.h
|
2005-04-17 05:20:36 +07:00
|
|
|
*
|
|
|
|
* Copyright (c) 2001-2004 MontaVista Software, Inc.
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ASM_ARCH_MEMORY_H
|
|
|
|
#define __ASM_ARCH_MEMORY_H
|
|
|
|
|
|
|
|
#include <asm/sizes.h>
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Physical DRAM offset.
|
|
|
|
*/
|
2005-10-30 03:44:55 +07:00
|
|
|
#define PHYS_OFFSET UL(0x00000000)
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2006-04-30 21:34:29 +07:00
|
|
|
#if !defined(__ASSEMBLY__) && defined(CONFIG_PCI)
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2010-05-23 02:58:51 +07:00
|
|
|
void ixp4xx_adjust_zones(unsigned long *size, unsigned long *holes);
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2010-05-23 02:58:51 +07:00
|
|
|
#define arch_adjust_zones(size, holes) \
|
|
|
|
ixp4xx_adjust_zones(size, holes)
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
#define ISA_DMA_THRESHOLD (SZ_64M - 1)
|
2008-11-29 17:50:22 +07:00
|
|
|
#define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_64M)
|
2005-04-17 05:20:36 +07:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|