On Thu, 30 Jul 2026 13:31:47 +0400, Alexey Charkov wrote:
> spl_load_legacy_lzma() lives in common/spl/spl_legacy.c, which is only
> built when CONFIG_$(PHASE_)LEGACY_IMAGE_FORMAT is set, but the call site
> in _spl_load() is guarded by CONFIG_SPL_LZMA alone. Enabling LZMA
> decompression without the legacy image format therefore fails to link:
>
> ld: common/spl/spl.o: in function `_spl_load':
> include/spl_load.h:73: undefined reference to `spl_load_legacy_lzma'
>
> [...]
Applied to u-boot/next, thanks!
[1/1] spl: Fix link when LZMA is enabled without legacy image format support
commit: 824317a8bc5689d93016e4c2211d194f98d9da33
--
Tom