mirror of
https://github.com/team-infusion-developers/android_kernel_samsung_msm8976.git
synced 2024-11-07 04:09:21 +00:00
ARM: mach-pxa: move from ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
This commit is contained in:
parent
7553ee777b
commit
805e88dc40
2 changed files with 3 additions and 4 deletions
|
@ -518,4 +518,7 @@ MACHINE_START(ARMCORE, "Compulab CM-X2XX")
|
||||||
.init_irq = cmx2xx_init_irq,
|
.init_irq = cmx2xx_init_irq,
|
||||||
.timer = &pxa_timer,
|
.timer = &pxa_timer,
|
||||||
.init_machine = cmx2xx_init,
|
.init_machine = cmx2xx_init,
|
||||||
|
#ifdef CONFIG_PCI
|
||||||
|
.dma_zone_size = SZ_64M,
|
||||||
|
#endif
|
||||||
MACHINE_END
|
MACHINE_END
|
||||||
|
|
|
@ -17,8 +17,4 @@
|
||||||
*/
|
*/
|
||||||
#define PLAT_PHYS_OFFSET UL(0xa0000000)
|
#define PLAT_PHYS_OFFSET UL(0xa0000000)
|
||||||
|
|
||||||
#if defined(CONFIG_MACH_ARMCORE) && defined(CONFIG_PCI)
|
|
||||||
#define ARM_DMA_ZONE_SIZE SZ_64M
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue