[PATCH v2 0/5] Static initcalls

Tom Rini trini at konsulko.com
Wed Jan 1 18:55:18 CET 2025


On Wed, Dec 18, 2024 at 04:53:53PM +0100, 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: -2507 bytes/-0.23 % with LTO enabled and -1232
> bytes/-0.11 % with LTO disabled (xilinx_zynqmp_kria_defconfig).
> 
> Execution time doesn't seem to change noticeably. There is no impact on
> the SPL.

This leads to run-time failures on SH:
https://source.denx.de/u-boot/u-boot/-/jobs/986701

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20250101/d6a88d19/attachment.sig>


More information about the U-Boot mailing list