diff options
author | Adam Ford <aford173@gmail.com> | 2021-06-25 14:23:07 -0500 |
---|---|---|
committer | Lokesh Vutla <lokeshvutla@ti.com> | 2021-07-15 17:56:04 +0530 |
commit | 46bf58d9f60866b9b57fd73df032874c98a747a6 (patch) | |
tree | d874a279870e0dea63e4ed6158e524b706de579a /arch | |
parent | 1ddd0ed34a9a8392852551a8e54fd10776ccd637 (diff) | |
download | u-boot-46bf58d9f60866b9b57fd73df032874c98a747a6.zip u-boot-46bf58d9f60866b9b57fd73df032874c98a747a6.tar.gz u-boot-46bf58d9f60866b9b57fd73df032874c98a747a6.tar.bz2 |
arm: omap3: Make secureworld_exit() static
secureworld_exit() is only used in one file, so make it static
to that file and remove it from sys_proto.h. This
may help with some further optimization in the future.
Signed-off-by: Adam Ford <aford173@gmail.com>
Signed-off-by: Lokesh Vutla <lokeshvutla@ti.com>
Link: https://lore.kernel.org/r/20210625192308.277136-3-aford173@gmail.com
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/include/asm/arch-omap3/sys_proto.h | 1 | ||||
-rw-r--r-- | arch/arm/mach-omap2/omap3/board.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/include/asm/arch-omap3/sys_proto.h b/arch/arm/include/asm/arch-omap3/sys_proto.h index 656f848..a6e9ff8 100644 --- a/arch/arm/include/asm/arch-omap3/sys_proto.h +++ b/arch/arm/include/asm/arch-omap3/sys_proto.h @@ -59,7 +59,6 @@ u32 is_running_in_sdram(void); u32 is_running_in_sram(void); u32 is_running_in_flash(void); u32 get_device_type(void); -void secureworld_exit(void); u32 get_boot_type(void); void invalidate_dcache(u32); u32 wait_on_value(u32, u32, void *, u32); diff --git a/arch/arm/mach-omap2/omap3/board.c b/arch/arm/mach-omap2/omap3/board.c index ef4fa80..41d0d3e 100644 --- a/arch/arm/mach-omap2/omap3/board.c +++ b/arch/arm/mach-omap2/omap3/board.c @@ -114,7 +114,7 @@ void secure_unlock_mem(void) * configure secure registers and exit secure world * general use. *****************************************************************************/ -void secureworld_exit(void) +static void secureworld_exit(void) { unsigned long i; |