Re: [PATCH] spl: Fix link when LZMA is enabled without legacy image format support

Tom Rini <[email protected]>
Newsgroups org.u-boot-project.lists.u-boot
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.