ARM: OMAP: PM: Add support to allocate the memory for secure RAM
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 6 Jun 2011 14:58:23 +0000 (20:28 +0530)
committerKevin Hilman <khilman@ti.com>
Thu, 8 Dec 2011 19:29:00 +0000 (11:29 -0800)
commit259ee57a8cda5760dd3e803c5271a6327e1f38ac
tree371adb6d30774b636403279eacaaae4297b31b4f
parentba9456ac9c72a7a5d4d59340aba4259351832521
ARM: OMAP: PM: Add support to allocate the memory for secure RAM

Allocate the memory to save secure ram context which needs
to be done when MPU is hitting OFF mode.

The ROM code expects a physical address to this memory
and hence use memblock APIs to reserve this memory as part
of .reserve() callback. Maximum size as per secure RAM requirements
is allocated.

To keep omap1 build working, omap-secure.h file is created
under plat-omap directory.

Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Acked-by: Jean Pihet <j-pihet@ti.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-by: Vishwanath BS <vishwanath.bs@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>
arch/arm/mach-omap2/include/mach/omap-secure.h
arch/arm/mach-omap2/omap-secure.c
arch/arm/plat-omap/common.c
arch/arm/plat-omap/include/plat/omap-secure.h [new file with mode: 0644]