summaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-prima2/prima2.c
diff options
context:
space:
mode:
authorNicolas Pitre <nicolas.pitre@linaro.org>2011-09-03 03:05:10 +0200
committerNicolas Pitre <nico@fluxnic.net>2011-09-06 23:25:54 +0200
commit98b0124f0e2b88ec74cbd9345cf6195e527ce251 (patch)
tree411e80fcecedcb4dbddd545757d6fad80dd8411c /arch/arm/mach-prima2/prima2.c
parentMerge the enabling by default of ARM_PATCH_PHYS_VIRT (diff)
downloadlinux-98b0124f0e2b88ec74cbd9345cf6195e527ce251.tar.xz
linux-98b0124f0e2b88ec74cbd9345cf6195e527ce251.zip
ARM: mach-prima2: move ARM_DMA_ZONE_SIZE to mdesc->dma_zone_size
Original comment: Restrict DMA-able region to workaround silicon limitation. The limitation restricts buffers available for DMA to SD/MMC hardware to be below 256MB. Signed-off-by: Nicolas Pitre <nicolas.pitre@linaro.org>
Diffstat (limited to '')
-rw-r--r--arch/arm/mach-prima2/prima2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-prima2/prima2.c b/arch/arm/mach-prima2/prima2.c
index 5654a04319fd..ee33c3d458f5 100644
--- a/arch/arm/mach-prima2/prima2.c
+++ b/arch/arm/mach-prima2/prima2.c
@@ -36,6 +36,7 @@ MACHINE_START(PRIMA2_EVB, "prima2cb")
.map_io = sirfsoc_map_lluart,
.init_irq = sirfsoc_of_irq_init,
.timer = &sirfsoc_timer,
+ .dma_zone_size = SZ_256M,
.init_machine = sirfsoc_mach_init,
.dt_compat = prima2cb_dt_match,
MACHINE_END