ARM: mach-pxa: 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:01 +0000 (15:30 -0400)
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
arch/arm/mach-pxa/cm-x2xx.c
arch/arm/mach-pxa/include/mach/memory.h

index a1099678247630524da6ab789d4719e87d75ce47..bc55d07566ca78900eb4a56cbc38113900c90023 100644 (file)
@@ -518,4 +518,7 @@ MACHINE_START(ARMCORE, "Compulab CM-X2XX")
        .init_irq       = cmx2xx_init_irq,
        .timer          = &pxa_timer,
        .init_machine   = cmx2xx_init,
+#ifdef CONFIG_PCI
+       .dma_zone_size  = SZ_64M,
+#endif
 MACHINE_END
index 07734f37f8fd79796d755c53d88ad656ab1d0b6c..d05a59727d66865491dae1c047aa5a595b089dc5 100644 (file)
@@ -17,8 +17,4 @@
  */
 #define PLAT_PHYS_OFFSET       UL(0xa0000000)
 
-#if defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI)
-#define ARM_DMA_ZONE_SIZE      SZ_64M
-#endif
-
 #endif
This page took 0.025891 seconds and 5 git commands to generate.