2005-04-16 22:20:36 +00:00
|
|
|
/*
|
2008-08-05 15:14:15 +00:00
|
|
|
* arch/arm/mach-ixp4xx/include/mach/memory.h
|
2005-04-16 22:20:36 +00: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-29 20:44:55 +00:00
|
|
|
#define PHYS_OFFSET UL(0x00000000)
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2006-04-30 14:34:29 +00:00
|
|
|
#if !defined(__ASSEMBLY__) && defined(CONFIG_PCI)
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2010-05-22 19:58:51 +00:00
|
|
|
void ixp4xx_adjust_zones(unsigned long *size, unsigned long *holes);
|
2005-04-16 22:20:36 +00:00
|
|
|
|
2010-05-22 19:58:51 +00:00
|
|
|
#define arch_adjust_zones(size, holes) \
|
|
|
|
ixp4xx_adjust_zones(size, holes)
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
#define ISA_DMA_THRESHOLD (SZ_64M - 1)
|
2008-11-29 10:50:22 +00:00
|
|
|
#define MAX_DMA_ADDRESS (PAGE_OFFSET + SZ_64M)
|
2005-04-16 22:20:36 +00:00
|
|
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|