ARM: use ARM_DMA_ZONE_SIZE to adjust the zone sizes
[firefly-linux-kernel-4.4.55.git] / arch / arm / mach-ixp4xx / include / mach / memory.h
index a5c26f8d3125159356abaaf694567bf8b179fca4..34e79404671afc265fe6ff324d1cace94640388d 100644 (file)
  */
 #define PLAT_PHYS_OFFSET       UL(0x00000000)
 
-#if !defined(__ASSEMBLY__) && defined(CONFIG_PCI)
-
-void ixp4xx_adjust_zones(unsigned long *size, unsigned long *holes);
-
-#define arch_adjust_zones(size, holes) \
-       ixp4xx_adjust_zones(size, holes)
-
+#ifdef CONFIG_PCI
 #define ARM_DMA_ZONE_SIZE      SZ_64M
-
 #endif
 
 #endif