ARM: Add init_consistent_dma_size()
[firefly-linux-kernel-4.4.55.git] / arch / arm / include / asm / memory.h
index b8de516e600e855e4ece64e3a654a1d451626603..652fccca49521cca6d38f5cc74a5086fc169840c 100644 (file)
  */
 #define IOREMAP_MAX_ORDER      24
 
-/*
- * Size of DMA-consistent memory region.  Must be multiple of 2M,
- * between 2MB and 14MB inclusive.
- */
-#ifndef CONSISTENT_DMA_SIZE
-#define CONSISTENT_DMA_SIZE    SZ_2M
-#endif
-
 #define CONSISTENT_END         (0xffe00000UL)
-#define CONSISTENT_BASE                (CONSISTENT_END - CONSISTENT_DMA_SIZE)
 
 #else /* CONFIG_MMU */