ARM: mach-shark: move ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 6 Jul 2011 02:28:09 +0000 (22:28 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Mon, 18 Jul 2011 19:30:04 +0000 (15:30 -0400)
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/mach-shark/core.c
arch/arm/mach-shark/include/mach/memory.h

index 5cf7f94..ac2873c 100644 (file)
@@ -156,4 +156,5 @@ MACHINE_START(SHARK, "Shark")
        .map_io         = shark_map_io,
        .init_irq       = shark_init_irq,
        .timer          = &shark_timer,
+       .dma_zone_size  = SZ_4M,
 MACHINE_END
index 4c0831f..1cf8d69 100644 (file)
@@ -17,8 +17,6 @@
  */
 #define PLAT_PHYS_OFFSET     UL(0x08000000)
 
-#define ARM_DMA_ZONE_SIZE      SZ_4M
-
 /*
  * Cache flushing area
  */