diff options
author | Magnus Damm <damm@opensource.se> | 2012-01-02 22:57:03 -0500 |
---|---|---|
committer | Nicolas Pitre <nico@fluxnic.net> | 2012-01-02 23:13:54 -0500 |
commit | 5917bfa4c0c529d7a93323671f2edec7e3d81c07 (patch) | |
tree | 548c1bf78a81ef38626a39a82cfeb7656ac8f269 /arch/arm/mach-shmobile/board-g4evm.c | |
parent | 0af362f8440a78b970d5f215e234420fa87d0f3f (diff) | |
download | linux-5917bfa4c0c529d7a93323671f2edec7e3d81c07.tar.gz linux-5917bfa4c0c529d7a93323671f2edec7e3d81c07.tar.bz2 linux-5917bfa4c0c529d7a93323671f2edec7e3d81c07.zip |
ARM: mach-shmobile: use standard 2MiB coherent DMA memory size
The 158MiB memory area was used to support HD
resolution multimedia workloads using the same
legacy memory allocating solution as on SH.
There are no in-tree kernel dependencies on the
158MiB setting, and future development should
reserve and allocate memory using some other
method like for instance CMA.
Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Nicolas Pitre <nico@linaro.org>
Diffstat (limited to 'arch/arm/mach-shmobile/board-g4evm.c')
-rw-r--r-- | arch/arm/mach-shmobile/board-g4evm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/mach-shmobile/board-g4evm.c b/arch/arm/mach-shmobile/board-g4evm.c index 7719ddc5f591..2220b885cff5 100644 --- a/arch/arm/mach-shmobile/board-g4evm.c +++ b/arch/arm/mach-shmobile/board-g4evm.c @@ -275,8 +275,6 @@ static struct map_desc g4evm_io_desc[] __initdata = { static void __init g4evm_map_io(void) { iotable_init(g4evm_io_desc, ARRAY_SIZE(g4evm_io_desc)); - /* DMA memory at 0xf6000000 - 0xffdfffff */ - init_consistent_dma_size(158 << 20); /* setup early devices and console here as well */ sh7377_add_early_devices(); |