Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e9dd7ed2 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Paul Mundt
Browse files

ARM: mach-shmobile: ap4evb: Reserve DMA memory for the frame buffer



ap4evb board needs the same fix as
1740d344
(ARM: mach-shmobile: mackerel: Reserve DMA memory for the frame buffer)

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
parent f1cbd03f
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -1206,6 +1206,12 @@ static void __init ap4evb_map_io(void)
{
	iotable_init(ap4evb_io_desc, ARRAY_SIZE(ap4evb_io_desc));

	/*
	 * DMA memory at 0xff200000 - 0xffdfffff. The default 2MB size isn't
	 * enough to allocate the frame buffer memory.
	 */
	init_consistent_dma_size(12 << 20);

	/* setup early devices and console here as well */
	sh7372_add_early_devices();
	shmobile_setup_console();