diff options
author | Jon Medhurst <tixy@yxit.co.uk> | 2011-08-04 12:05:21 -0400 |
---|---|---|
committer | Jon Medhurst <tixy@yxit.co.uk> | 2011-08-22 08:00:12 -0400 |
commit | 9b742024026c5214ab9d75db672b8e984526be70 (patch) | |
tree | 792703d92102dd399291be4f8a2db0d607b3a1bf /arch/arm/mach-shmobile/board-ag5evm.c | |
parent | 2d5e975b2194eb1326ea0b90db1e21da7be17708 (diff) |
ARM: mach-shmobile: Setup consistent dma size at boot time
Signed-off-by: Jon Medhurst <tixy@yxit.co.uk>
CC: Paul Mundt <lethal@linux-sh.org>
CC: Magnus Damm <magnus.damm@gmail.com>
Diffstat (limited to 'arch/arm/mach-shmobile/board-ag5evm.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-ag5evm.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/board-ag5evm.c b/arch/arm/mach-shmobile/board-ag5evm.c index ce5c2513c6ce..167a67c5ca54 100644 --- a/arch/arm/mach-shmobile/board-ag5evm.c +++ b/arch/arm/mach-shmobile/board-ag5evm.c | |||
@@ -37,6 +37,7 @@ | |||
37 | #include <linux/mmc/sh_mobile_sdhi.h> | 37 | #include <linux/mmc/sh_mobile_sdhi.h> |
38 | #include <linux/mfd/tmio.h> | 38 | #include <linux/mfd/tmio.h> |
39 | #include <linux/sh_clk.h> | 39 | #include <linux/sh_clk.h> |
40 | #include <linux/dma-mapping.h> | ||
40 | #include <video/sh_mobile_lcdc.h> | 41 | #include <video/sh_mobile_lcdc.h> |
41 | #include <video/sh_mipi_dsi.h> | 42 | #include <video/sh_mipi_dsi.h> |
42 | #include <sound/sh_fsi.h> | 43 | #include <sound/sh_fsi.h> |
@@ -446,6 +447,8 @@ static struct map_desc ag5evm_io_desc[] __initdata = { | |||
446 | static void __init ag5evm_map_io(void) | 447 | static void __init ag5evm_map_io(void) |
447 | { | 448 | { |
448 | iotable_init(ag5evm_io_desc, ARRAY_SIZE(ag5evm_io_desc)); | 449 | iotable_init(ag5evm_io_desc, ARRAY_SIZE(ag5evm_io_desc)); |
450 | /* DMA memory at 0xf6000000 - 0xffdfffff */ | ||
451 | init_consistent_dma_size(158 << 20); | ||
449 | 452 | ||
450 | /* setup early devices and console here as well */ | 453 | /* setup early devices and console here as well */ |
451 | sh73a0_add_early_devices(); | 454 | sh73a0_add_early_devices(); |