memory.h 510 B

12345678910111213141516171819202122232425262728
  1. /*
  2. * arch/arm/mach-ixp4xx/include/mach/memory.h
  3. *
  4. * Copyright (c) 2001-2004 MontaVista Software, Inc.
  5. */
  6. #ifndef __ASM_ARCH_MEMORY_H
  7. #define __ASM_ARCH_MEMORY_H
  8. #include <asm/sizes.h>
  9. /*
  10. * Physical DRAM offset.
  11. */
  12. #define PLAT_PHYS_OFFSET UL(0x00000000)
  13. #if !defined(__ASSEMBLY__) && defined(CONFIG_PCI)
  14. void ixp4xx_adjust_zones(unsigned long *size, unsigned long *holes);
  15. #define arch_adjust_zones(size, holes) \
  16. ixp4xx_adjust_zones(size, holes)
  17. #define ARM_DMA_ZONE_SIZE SZ_64M
  18. #endif
  19. #endif