[PATCH v6 0/3] Static initcalls
Tom Rini
trini at konsulko.com
Mon Apr 14 22:07:51 CEST 2025
On Fri, 04 Apr 2025 15:50:34 +0200, Jerome Forissier wrote:
> This series replaces the dynamic initcalls (with function pointers) with
> static calls, and gets rid of initcall_run_list(), init_sequence_f,
> init_sequence_f_r and init_sequence_r. This makes the code simpler and the
> binary slighlty smaller: -2281 bytes/-0.21 % with LTO enabled and -510
> bytes/-0.05 % with LTO disabled (xilinx_zynqmp_kria_defconfig).
>
> Execution time doesn't seem to change noticeably. There is no impact on
> the SPL.
>
> [...]
Applied to u-boot/master, thanks!
[1/3] arm: asm/system.h: mrc and mcr need .arm if __thumb2__ is not set
commit: 6fe50e39508043f386fc1bd40bbc02b8a75c1940
[2/3] common: board: make initcalls static
commit: 6c171f7a184cc2815b736c48aa6ac02367bbb67f
[3/3] initcall: remove initcall_run_list()
commit: bbee3d41b33f5b8c88ae3707dc8af105acafdd55
--
Tom
More information about the U-Boot
mailing list