From 9b742024026c5214ab9d75db672b8e984526be70 Mon Sep 17 00:00:00 2001 From: Jon Medhurst Date: Thu, 4 Aug 2011 17:05:21 +0100 Subject: ARM: mach-shmobile: Setup consistent dma size at boot time Signed-off-by: Jon Medhurst CC: Paul Mundt CC: Magnus Damm --- arch/arm/mach-shmobile/board-g3evm.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'arch/arm/mach-shmobile/board-g3evm.c') diff --git a/arch/arm/mach-shmobile/board-g3evm.c b/arch/arm/mach-shmobile/board-g3evm.c index ef4613b993a2..8b620bf06221 100644 --- a/arch/arm/mach-shmobile/board-g3evm.c +++ b/arch/arm/mach-shmobile/board-g3evm.c @@ -32,6 +32,7 @@ #include #include #include +#include #include #include #include @@ -260,6 +261,8 @@ static struct map_desc g3evm_io_desc[] __initdata = { static void __init g3evm_map_io(void) { iotable_init(g3evm_io_desc, ARRAY_SIZE(g3evm_io_desc)); + /* DMA memory at 0xf6000000 - 0xffdfffff */ + init_consistent_dma_size(158 << 20); /* setup early devices and console here as well */ sh7367_add_early_devices(); -- cgit v1.2.2