]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ARM: mach-realview: move from 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:02 +0000 (15:30 -0400)
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/mach-realview/include/mach/memory.h
arch/arm/mach-realview/realview_eb.c
arch/arm/mach-realview/realview_pb1176.c
arch/arm/mach-realview/realview_pb11mp.c
arch/arm/mach-realview/realview_pba8.c
arch/arm/mach-realview/realview_pbx.c

index 1759fa673eea2505a51bd57b69369f22daf5f2c2..2022e092f0cade07c42efcbdf2768ac55658733a 100644 (file)
 #define PLAT_PHYS_OFFSET               UL(0x00000000)
 #endif
 
-#ifdef CONFIG_ZONE_DMA
-#define ARM_DMA_ZONE_SIZE      SZ_256M
-#endif
-
 #ifdef CONFIG_SPARSEMEM
 
 /*
index 10e75faba4c9c6e95743d25790e81b47676ad10b..7a4e3b18cb3e72efc3c7f0834814d636c56e9d67 100644 (file)
@@ -470,4 +470,7 @@ MACHINE_START(REALVIEW_EB, "ARM-RealView EB")
        .init_irq       = gic_init_irq,
        .timer          = &realview_eb_timer,
        .init_machine   = realview_eb_init,
+#ifdef CONFIG_ZONE_DMA
+       .dma_zone_size  = SZ_256M,
+#endif
 MACHINE_END
index eab6070f66d093c701d0e8c1a47ee7f77fc76b73..ad5671acb66acf5c762c4e3bdd57ef4300a97db5 100644 (file)
@@ -365,4 +365,7 @@ MACHINE_START(REALVIEW_PB1176, "ARM-RealView PB1176")
        .init_irq       = gic_init_irq,
        .timer          = &realview_pb1176_timer,
        .init_machine   = realview_pb1176_init,
+#ifdef CONFIG_ZONE_DMA
+       .dma_zone_size  = SZ_256M,
+#endif
 MACHINE_END
index b2985fc7cd4e4f22e521365fda110c78b924a7a7..b43644b3685ef4325f1cb965dffffcbcfb83ba44 100644 (file)
@@ -367,4 +367,7 @@ MACHINE_START(REALVIEW_PB11MP, "ARM-RealView PB11MPCore")
        .init_irq       = gic_init_irq,
        .timer          = &realview_pb11mp_timer,
        .init_machine   = realview_pb11mp_init,
+#ifdef CONFIG_ZONE_DMA
+       .dma_zone_size  = SZ_256M,
+#endif
 MACHINE_END
index fb686655876023464fa7af1256f96ccc993f0c4d..763e8f38c15d7e8ab06416de1827dda7b6d86b7d 100644 (file)
@@ -317,4 +317,7 @@ MACHINE_START(REALVIEW_PBA8, "ARM-RealView PB-A8")
        .init_irq       = gic_init_irq,
        .timer          = &realview_pba8_timer,
        .init_machine   = realview_pba8_init,
+#ifdef CONFIG_ZONE_DMA
+       .dma_zone_size  = SZ_256M,
+#endif
 MACHINE_END
index 92ace2cf2b2c6963dcf55bf360a87146c6e8193e..363b0ab56150d69857c509fd0fac4683b4ea8c15 100644 (file)
@@ -400,4 +400,7 @@ MACHINE_START(REALVIEW_PBX, "ARM-RealView PBX")
        .init_irq       = gic_init_irq,
        .timer          = &realview_pbx_timer,
        .init_machine   = realview_pbx_init,
+#ifdef CONFIG_ZONE_DMA
+       .dma_zone_size  = SZ_256M,
+#endif
 MACHINE_END