1*d2912cb1SThomas Gleixner // SPDX-License-Identifier: GPL-2.0-only 2aa218dafSPaul Walmsley /* 3aa218dafSPaul Walmsley * linux/arch/arm/mach-omap2/common.c 4aa218dafSPaul Walmsley * 5aa218dafSPaul Walmsley * Code common to all OMAP2+ machines. 6aa218dafSPaul Walmsley * 7aa218dafSPaul Walmsley * Copyright (C) 2009 Texas Instruments 8aa218dafSPaul Walmsley * Copyright (C) 2010 Nokia Corporation 9aa218dafSPaul Walmsley * Tony Lindgren <tony@atomide.com> 10aa218dafSPaul Walmsley * Added OMAP4 support - Santosh Shilimkar <santosh.shilimkar@ti.com> 11aa218dafSPaul Walmsley */ 12aa218dafSPaul Walmsley #include <linux/kernel.h> 13aa218dafSPaul Walmsley #include <linux/init.h> 14aa218dafSPaul Walmsley 15ee0839c2STony Lindgren #include "common.h" 16f7a9b8a1SLokesh Vutla #include "omap-secure.h" 17aa218dafSPaul Walmsley 18f583f0f2SLokesh Vutla /* 19f583f0f2SLokesh Vutla * Stub function for OMAP2 so that common files 20f583f0f2SLokesh Vutla * continue to build when custom builds are used 21f583f0f2SLokesh Vutla */ omap_secure_ram_reserve_memblock(void)22f583f0f2SLokesh Vutlaint __weak omap_secure_ram_reserve_memblock(void) 23f583f0f2SLokesh Vutla { 24f583f0f2SLokesh Vutla return 0; 25f583f0f2SLokesh Vutla } 26f583f0f2SLokesh Vutla omap_reserve(void)27f583f0f2SLokesh Vutlavoid __init omap_reserve(void) 28f583f0f2SLokesh Vutla { 29f583f0f2SLokesh Vutla omap_secure_ram_reserve_memblock(); 30f746929fSRussell King omap_barrier_reserve_memblock(); 31f583f0f2SLokesh Vutla } 32