arm: omap3: Make functions static when possible
Get series with b4
b4 am [email protected]Versions newest first
- v2 Latest0 of 3 patches 0 repliesNew
Patches in v2 No applies recorded yet
None of the 3 patches the cover letter announces are in this archive.
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH V2 0/3] arm: omap3: Make functions static when possible
Quoted 5 lines · Adam Ford
A few functions are defined without being labeled as static to that file. In an effort to keep SPL as small as possible, one function needs to be moved into an #ifdef so it's only enabled when the calling function is available, and all of these can simply be marked as static.
I see some failures with this series. Can you take a look:
https://source.denx.de/u-boot/custodians/u-boot-ti/-/jobs/254794
Thanks and regards,
Lokesh
Quoted 20 lines
Before:
text data bss dec hex filename
50988 1053 1888 53929 d2a9 spl/u-boot-splAfter:
text data bss dec hex filename
50972 1053 1888 53913 d299 spl/u-boot-splWhile not significant, a few bytes can be very helpful when SPL is limited.
Adam Ford (3):
arm: omap3: Maketry_unlock_memory()static
arm: omap3: Makesecureworld_exit()static
arm: omap3: Makesecure_unlock_mem()staticarch/arm/include/asm/arch-omap3/sys_proto.h | 2 -- arch/arm/mach-omap2/omap3/board.c | 21 +++++++++++---------- 2 files changed, 11 insertions(+), 12 deletions(-)