ARM: OMAP2+: Move stubbed secure_sram_reserve function to a common.c and call it...
authorR Sricharan <r.sricharan@ti.com>
Thu, 10 May 2012 15:57:20 +0000 (21:27 +0530)
committerSantosh Shilimkar <santosh.shilimkar@ti.com>
Mon, 9 Jul 2012 13:44:38 +0000 (19:14 +0530)
commite799840a09c7e4b7e94d08a7b8c3ec4ba81611f9
treee26107fa6412a90c84ea880aadb840fbcbd059e2
parentfb584511c4664573097ece7df0de06ad00b713a2
ARM: OMAP2+: Move stubbed secure_sram_reserve function to a common.c and call it __weak

omap_secure_ram_reserve_memblock is stubbed for OMAP1,2 only builds using a
 ifdef check. But this results in adding CONFIG_ARCH_OMAPxx checks for
future socs that use the real function. So move this to common.c file and
call it __weak.

Signed-off-by: R Sricharan <r.sricharan@ti.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
arch/arm/plat-omap/common.c
arch/arm/plat-omap/include/plat/omap-secure.h