[PATCH 01/10] spl: Make use of CONFIG_IS_ENABLED(OS_BOOT) in SPL/TPL common code paths
Tom Rini
trini at konsulko.com
Fri Nov 5 20:39:53 CET 2021
On Sat, Oct 30, 2021 at 11:03:48PM -0400, Tom Rini wrote:
> When building a system that has both TPL and SPL_OS_BOOT, code which
> tests for CONFIG_SPL_OS_BOOT will be built and enabled in TPL, which is
> not correct. While there is no CONFIG_TPL_OS_BOOT symbol at this time
> (and likely will not ever be) we can use CONFIG_IS_ENABLED(OS_BOOT) in
> these common paths to ensure we only compile these parts in the SPL
> case.
>
> Signed-off-by: Tom Rini <trini at konsulko.com>
Applied to u-boot/master, thanks!
--
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/20211105/62ef36f3/attachment.sig>
More information about the U-Boot
mailing list