u-boot/test
Jerome Forissier 6c171f7a18 common: board: make initcalls static
Change board_init_f(), board_init_f_r() and board_init_r() to make
static calls instead of iterating over the init_sequence_f,
init_sequence_f_r and init_sequence_r arrays, respectively. This makes
the code a simpler (and even more so when initcall_run_list() is
later removed) and it reduces the binary size as well. Tested with
xilinx_zynqmp_kria_defconfig; bloat-o-meter results:

- With LTO
add/remove: 106/196 grow/shrink: 10/28 up/down: 31548/-33829 (-2281)
Total: Before=1070471, After=1068190, chg -0.21%
- Without LTO
add/remove: 0/54 grow/shrink: 3/0 up/down: 2322/-2832 (-510)
Total: Before=1121723, After=1121213, chg -0.05%

Execution time does not change in a noticeable way.

Signed-off-by: Jerome Forissier <jerome.forissier@linaro.org>
2025-04-14 08:59:39 -06:00
..
boot test: Drop suites.h 2025-02-11 20:12:36 -06:00
cmd test: Drop suites.h 2025-02-11 20:12:36 -06:00
common test: event: Correct usage of IS_ENABLED() macro in test/common/event.c 2025-03-13 14:21:42 -06:00
dm Merge branch 'graph' of https://source.denx.de/u-boot/custodians/u-boot-tegra into next 2025-03-12 07:55:47 -06:00
env test: Drop suites.h 2025-02-11 20:12:36 -06:00
fdt_overlay test: Drop suites.h 2025-02-11 20:12:36 -06:00
fs test: fs: fs-test: Move the tests to use sha256sum 2024-01-11 21:19:25 -05:00
fuzz global: Rename SPL_ to XPL_ 2024-10-11 11:44:48 -06:00
hush test: Drop the function for running hush tests 2025-01-24 14:34:40 -06:00
image spl: Create a function to init spl_load_info 2024-08-23 15:58:42 -06:00
lib Merge branch 'graph' of https://source.denx.de/u-boot/custodians/u-boot-tegra into next 2025-03-12 07:55:47 -06:00
log test: Drop suites.h 2025-02-11 20:12:36 -06:00
optee test: Drop suites.h 2025-02-11 20:12:36 -06:00
py common: board: make initcalls static 2025-04-14 08:59:39 -06:00
stdint Revert "Merge patch series "arm: dts: am62-beagleplay: Fix Beagleplay Ethernet"" 2024-05-19 08:16:36 -06:00
cmd_ut.c test: Update documentation 2025-02-11 20:12:36 -06:00
Kconfig test: Make all tests depend on UNIT_TEST 2025-02-11 20:10:59 -06:00
Makefile test: Move fdt-overlay-test rule into test/ 2025-02-11 20:10:59 -06:00
run test: Run the VPL tests with 'make check' 2023-04-03 06:53:53 +12:00
test-main.c test: Allow running a selection of suites 2025-02-11 20:12:36 -06:00
ut.c test: Move stats into a struct 2025-01-24 14:34:41 -06:00