Files
u-boot/test
Heinrich Schuchardt 81b3558e74 test: The LMB test depends on CONFIG_LMB
Many boards use CONFIG_LMB=y but not all, e.g.
amd_versal2_mini_defconfig. Building this board with CONFIG_UNIT_TEST=y
fails:

    aarch64-linux-gnu-ld:
    test/lib/lmb.c:411:(.text.test_noreserved+0x428):
    undefined reference to `lmb_free'

We should be able to enable CONFIG_UNIT_TEST on any board.

With this patch the LMB test is only built if LMB is enabled which
overcomes the build issue.

Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Heinrich Schuchardt <heinrich.schuchardt@canonical.com>
2026-01-06 13:04:39 -06:00
..
2025-02-11 20:12:36 -06:00
2025-04-11 12:16:44 -06:00
2025-09-24 11:04:11 -06:00
2025-12-22 16:31:21 -06:00
2025-02-11 20:12:36 -06:00
2023-04-03 06:53:53 +12:00
2025-10-15 14:17:06 -06:00
2025-01-24 14:34:41 -06:00