summaryrefslogtreecommitdiff
path: root/arch/arm/mach-bcmring/mm.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2011-10-31 17:23:28 +0400
committerArnd Bergmann <arnd@arndb.de>2011-10-31 17:23:28 +0400
commit929f58aeeb46f964d9468ce1addd993f5d92b11d (patch)
tree95355731bd4d21d221cdc2a5ab073244ff76db65 /arch/arm/mach-bcmring/mm.c
parentfcd467137ea2da46ffe5cbfdb42e8a2b35f13dad (diff)
parenta26bce1220a4c5a7a074a779e6aad3cae63a94f7 (diff)
downloadlinux-929f58aeeb46f964d9468ce1addd993f5d92b11d.tar.xz
Merge branch 'depends/rmk/devel-stable' into imx/imx6q
Diffstat (limited to 'arch/arm/mach-bcmring/mm.c')
-rw-r--r--arch/arm/mach-bcmring/mm.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-bcmring/mm.c b/arch/arm/mach-bcmring/mm.c
index 0f1c37e4523a..8616876abb9f 100644
--- a/arch/arm/mach-bcmring/mm.c
+++ b/arch/arm/mach-bcmring/mm.c
@@ -13,6 +13,7 @@
*****************************************************************************/
#include <linux/platform_device.h>
+#include <linux/dma-mapping.h>
#include <asm/mach/map.h>
#include <mach/hardware.h>
@@ -53,4 +54,6 @@ void __init bcmring_map_io(void)
{
iotable_init(bcmring_io_desc, ARRAY_SIZE(bcmring_io_desc));
+ /* Maximum DMA memory allowed is 14M */
+ init_consistent_dma_size(14 << 20);
}