diff mbox

ARM: shmobile: r8a7794: Reserve memory as other R-Car Gen2 SoCs

Message ID 20140915133536.21371.34861.sendpatchset@w520 (mailing list archive)
State Accepted
Commit 299e14734c22994e69c913e66ab1f4bb56423f5d
Headers show

Commit Message

Magnus Damm Sept. 15, 2014, 1:35 p.m. UTC
From: Magnus Damm <damm+renesas@opensource.se>

Other R-Car Gen2 SoCs such as r8a7790 and r8a7791 reserve
the top 256 MiB of memory for use with CMA. Adjust the
board-less r8a7794 code to do the same.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
---

 arch/arm/mach-shmobile/setup-r8a7794.c |    1 +
 1 file changed, 1 insertion(+)

--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Simon Horman Sept. 16, 2014, 6:02 a.m. UTC | #1
On Mon, Sep 15, 2014 at 10:35:36PM +0900, Magnus Damm wrote:
> From: Magnus Damm <damm+renesas@opensource.se>
> 
> Other R-Car Gen2 SoCs such as r8a7790 and r8a7791 reserve
> the top 256 MiB of memory for use with CMA. Adjust the
> board-less r8a7794 code to do the same.
> 
> Signed-off-by: Magnus Damm <damm+renesas@opensource.se>

Thanks, I have queued this up.
--
To unsubscribe from this list: send the line "unsubscribe linux-sh" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- 0001/arch/arm/mach-shmobile/setup-r8a7794.c
+++ work/arch/arm/mach-shmobile/setup-r8a7794.c	2014-09-15 18:29:21.000000000 +0900
@@ -28,5 +28,6 @@  DT_MACHINE_START(R8A7794_DT, "Generic R8
 	.init_early	= shmobile_init_delay,
 	.init_late	= shmobile_init_late,
 	.init_time	= rcar_gen2_timer_init,
+	.reserve	= rcar_gen2_reserve,
 	.dt_compat	= r8a7794_boards_compat_dt,
 MACHINE_END