aboutsummaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap1/sram.h
diff options
context:
space:
mode:
authorArnd Bergmann2019-09-20 18:16:09 +0200
committerArnd Bergmann2022-04-22 11:08:55 +0200
commit11237651e22c7dee1d0822c132805de23b9ed384 (patch)
treeb9548077041d5dce92bad452a19706d99979eb64 /arch/arm/mach-omap1/sram.h
parent04e8d9d139c9fca2717b65a46333dd1cfd87dc28 (diff)
ARM: omap: un-merge plat/sram.c
The sram initialization code is the only shared omap1/2 code that is not a standalone driver, but it is very short. Having two copies of this code means some duplication of the sources, but actually saves object code size as it can be inlined better. Acked-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Diffstat (limited to 'arch/arm/mach-omap1/sram.h')
-rw-r--r--arch/arm/mach-omap1/sram.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/arch/arm/mach-omap1/sram.h b/arch/arm/mach-omap1/sram.h
index 73efabd119e8..f45e6dd6d7e5 100644
--- a/arch/arm/mach-omap1/sram.h
+++ b/arch/arm/mach-omap1/sram.h
@@ -1,8 +1,10 @@
/* SPDX-License-Identifier: GPL-2.0 */
-#include <plat/sram.h>
extern void omap_sram_reprogram_clock(u32 dpllctl, u32 ckctl);
+int omap1_sram_init(void);
+void *omap_sram_push(void *funcp, unsigned long size);
+
/* Do not use these */
extern void omap1_sram_reprogram_clock(u32 ckctl, u32 dpllctl);
extern unsigned long omap1_sram_reprogram_clock_sz;