[PATCH 2/2] arm: omap3: Make secure_unlock_mem() static
Adam Ford
aford173 at gmail.com
Sun Mar 7 05:03:55 CET 2021
secure_unlock_mem() is only used in one file, so make it static
in that file. This
may help with some further optimization in the future.
Signed-off-by: Adam Ford <aford173 at gmail.com>
diff --git a/arch/arm/mach-omap2/omap3/board.c b/arch/arm/mach-omap2/omap3/board.c
index 87dddd9b0f..74b5a4b111 100644
--- a/arch/arm/mach-omap2/omap3/board.c
+++ b/arch/arm/mach-omap2/omap3/board.c
@@ -76,7 +76,7 @@ const struct gpio_bank *const omap_gpio_bank = gpio_bank_34xx;
* Description: Setup security registers for access
* (GP Device only)
*****************************************************************************/
-void secure_unlock_mem(void)
+static void secure_unlock_mem(void)
{
struct pm *pm_rt_ape_base = (struct pm *)PM_RT_APE_BASE_ADDR_ARM;
struct pm *pm_gpmc_base = (struct pm *)PM_GPMC_BASE_ADDR_ARM;
--
2.25.1
More information about the U-Boot
mailing list