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>
Šī revīzija ir iekļauta:
Magnus Damm
2012-01-02 22:57:03 -05:00
revīziju iesūtīja Nicolas Pitre
vecāks 0af362f844
revīzija 5917bfa4c0
5 mainīti faili ar 0 papildinājumiem un 10 dzēšanām

Parādīt failu

@@ -466,8 +466,6 @@ static struct map_desc ag5evm_io_desc[] __initdata = {
static void __init ag5evm_map_io(void)
{
iotable_init(ag5evm_io_desc, ARRAY_SIZE(ag5evm_io_desc));
/* DMA memory at 0xf6000000 - 0xffdfffff */
init_consistent_dma_size(158 << 20);
/* setup early devices and console here as well */
sh73a0_add_early_devices();