summaryrefslogtreecommitdiff
path: root/arch/arm/mach-shmobile/rcar-gen2.h
diff options
context:
space:
mode:
authorMagnus Damm <damm+renesas@opensource.se>2014-06-09 16:38:45 +0400
committerSimon Horman <horms+renesas@verge.net.au>2014-06-17 14:33:22 +0400
commitf8e819352d12f1b7d109d846e9bf1c07e006469a (patch)
tree1c7f22df16a675ebcfd1b6f43289e0b86f50495b /arch/arm/mach-shmobile/rcar-gen2.h
parent3d65226bc925f4749c2b2ab0ea3f4d274e194688 (diff)
downloadlinux-f8e819352d12f1b7d109d846e9bf1c07e006469a.tar.xz
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>
Diffstat (limited to 'arch/arm/mach-shmobile/rcar-gen2.h')
-rw-r--r--arch/arm/mach-shmobile/rcar-gen2.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-shmobile/rcar-gen2.h b/arch/arm/mach-shmobile/rcar-gen2.h
index 43f606eb2d82..ce53cb5f53a1 100644
--- a/arch/arm/mach-shmobile/rcar-gen2.h
+++ b/arch/arm/mach-shmobile/rcar-gen2.h
@@ -4,5 +4,6 @@
void rcar_gen2_timer_init(void);
#define MD(nr) BIT(nr)
u32 rcar_gen2_read_mode_pins(void);
+void rcar_gen2_reserve(void);
#endif /* __ASM_RCAR_GEN2_H__ */