ARM: shmobile: Add shared R-Car Gen2 CMA reservation code
authorMagnus Damm <damm+renesas@opensource.se>
Mon, 9 Jun 2014 12:38:45 +0000 (21:38 +0900)
committerStephane Desneux <stephane.desneux@open.eurogiciel.org>
Wed, 4 Feb 2015 10:15:52 +0000 (11:15 +0100)
commit9e114793790183b651512296d59e534fff3627e4
tree3fbf254ec5e06290ae0bb6d180a016c4449afde6
parent85222527ac7af53b0d8cb88979cbb48d953ba564
ARM: shmobile: Add shared R-Car Gen2 CMA reservation code

Add R-Car Gen2 CMA memory reservation code that can be
shared between multiple SoCs and boards. At this point
r8a7790 and r8a7791 are supported.

The top 256MiB of the legacy 32-bit physical memory space
is assigned to a separate CMA area that may be assigned
to various devices later on.

Signed-off-by: Magnus Damm <damm+renesas@opensource.se>
[horms+renesas@verge.net.au: rebased]
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
(cherry picked from commit f8e819352d12f1b7d109d846e9bf1c07e006469a)
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/rcar-gen2.h
arch/arm/mach-shmobile/setup-r8a7790.c
arch/arm/mach-shmobile/setup-r8a7791.c
arch/arm/mach-shmobile/setup-rcar-gen2.c