]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mach-h720x: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
authorNicolas Pitre <nicolas.pitre@linaro.org>
Wed, 6 Jul 2011 02:28:08 +0000 (22:28 -0400)
committerNicolas Pitre <nico@fluxnic.net>
Mon, 18 Jul 2011 19:29:59 +0000 (15:29 -0400)
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/mach-h720x/h7201-eval.c
arch/arm/mach-h720x/h7202-eval.c
arch/arm/mach-h720x/include/mach/memory.h

index 629454d71c8d626047b934d16f1891b25546af35..65f1bea958e56c48beadab8ae46493ac0450b345 100644 (file)
@@ -33,4 +33,5 @@ MACHINE_START(H7201, "Hynix GMS30C7201")
        .map_io         = h720x_map_io,
        .init_irq       = h720x_init_irq,
        .timer          = &h7201_timer,
+       .dma_zone_size  = SZ_256M,
 MACHINE_END
index e9f46b6963546dddb70005045d0c70afda335678..884584a09752b443dfa1d736b9a7635d4e91e2f6 100644 (file)
@@ -76,4 +76,5 @@ MACHINE_START(H7202, "Hynix HMS30C7202")
        .init_irq       = h7202_init_irq,
        .timer          = &h7202_timer,
        .init_machine   = init_eval_h7202,
+       .dma_zone_size  = SZ_256M,
 MACHINE_END
index b0b3baec9acfbabd6426571ba1d2a1cb3a48f876..96dcf50c51d33ada41b435f3dd600ff56335198c 100644 (file)
@@ -8,11 +8,4 @@
 #define __ASM_ARCH_MEMORY_H
 
 #define PLAT_PHYS_OFFSET       UL(0x40000000)
-/*
- * This is the maximum DMA address that can be DMAd to.
- * There should not be more than (0xd0000000 - 0xc0000000)
- * bytes of RAM.
- */
-#define ARM_DMA_ZONE_SIZE      SZ_256M
-
 #endif