Re: [PATCH V2 0/3] Make omap3 board functions static
On Fri, 25 Jun 2021 14:23:05 -0500, Adam Ford wrote: > Several functions in omap3/board.c are only used in that file, and > two of them are only called when certain conditions are true in an > ifdef. Rearange these functions to also be inside the ifdef and > make them static. > > Before: > > [...] Applied to https://source.denx.de/u-boot/custodians/u-boot-ti.git for-rc, thanks! [1/3] arm: omap3: Make try_unlock_memory() static https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/c19d0431e9 [2/3] arm: omap3: Make secureworld_exit() static https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/c7c426aeac [3/3] arm: omap3: Make secure_unlock_mem() static https://source.denx.de/u-boot/custodians/u-boot-ti/-/commit/834f72af36 -- Thanks and Regards, Lokesh
[PATCH V2 0/3] Make omap3 board functions static
Several functions in omap3/board.c are only used in that file, and two of them are only called when certain conditions are true in an ifdef. Rearange these functions to also be inside the ifdef and make them static. Before: text data bss dec hex filename 4999810571888 52943cecf spl/u-boot-spl 605972 29244 53020 688236 a806c u-boot After Patch 3/3: textdata bss dec hex filename 605744 29244 52996 687984 a7f70 u-boot 4991810571888 52863ce7f spl/u-boot-spl Adam Ford (3): arm: omap3: Make try_unlock_memory() static arm: omap3: Make secureworld_exit() static arm: omap3: Make secure_unlock_mem() static arch/arm/include/asm/arch-omap3/sys_proto.h | 2 -- arch/arm/mach-omap2/omap3/board.c | 21 +++-- 2 files changed, 11 insertions(+), 12 deletions(-) -- 2.25.1